n = int(input()) inp = int(input()) while inp != n: print('Error') inp = int(input()) print('Done')