a,b = 10,20
x = 30 if a<b else 40
print(x)
print('\n')

a,b = 100,20
x = 30 if a<b else 40
print(x)


print('\n')

a = int(input("Enter your first number:"))
b = int(input("Enter your second number:"))
min = a if a<b else b
print('Minimum value is ', min)