X = 0
Y = input().split()
for i in Y:
    b = len(i)
    if b > X:
        X = b
        Y = i
print(Y)

0d395347d2ba7ad5d8da5e339c8f9b2a8950e9a5
<mask token>

<mask token>
for i in Y:
    b = len(i)
    if b > X:
        X = b
        Y = i
print(Y)

X = 0
Y = input().split()
for i in Y:
    b = len(i)
    if b > X:
        X = b
        Y = i
print(Y)
