S = input() if 'W' in S: print('Failed...') elif 'L' in S: print('Failed...') else: print('Done!')