a = input()
b = input()
c = input()
d = input()
e = len(a)
f = len(b)
g = len(c)
h = len(d)
if e>f:
    print(a)
elif f>g:
    print(b)
elif g>f:
    print(c)
else:
    print(d)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: