Find the greatest of 4 numbers using if-elif
a, b, c, d = map(int, input().split()) if a > b: print(max(a, c, d)) elif b > a: print(max(b, c, d))