@staticmethod
def b():
    atcoder = set('atcoder')
    (s, t) = sys.stdin.read().split()
    print(((all((((s[i] == t[i]) or ((s[i] == '@') and (t[i] in atcoder)) or ((t[i] == '@') and (s[i] in atcoder))) for i in range(len(s)))) and 'You can win') or 'You will lose'))
@staticmethod
def b():
    atcoder = set('atcoder')
    (s, t) = sys.stdin.read().split()
    print(((all((((s[i] == t[i]) or ((s[i] == '@') and (t[i] in atcoder)) or ((t[i] == '@') and (s[i] in atcoder))) for i in range(len(s)))) and 'You can win') or 'You will lose'))