a, b = input().split() beats = {"グー": "チョキ", "チョキ": "ハサミ", "パー": "グー"} if a == b: print("Drew") elif beats[a] == b: print("Won") else: print("Lost")