let s1, s2, s3 = readLine stdin if s1 == s2 or s1 == s3: echo s1 else: echo s2