a,b,c=input("3 numbers? ")
# In the lab we saw many different ways of findi the maximum of 3 numbers
# The most basic one is the following
if c>a and c>b :
print c
if a>b and a>c:
print a
if b>a and b>c:
print b
# Another way of doing it follows
# The difference with the previous one is that we scan all the numbers
# and for each number we check if this is bigger than the maximum up to
# this point. To start, we say that the maximum up to now is a, as we
# haven't seen any other number.
maximum = a
if b>maximum:
maximum = b
if c> maximum:
maximum = c
print maximum
# Finally, we could change the above snippet, so that we don't have to write
# every 'if' condition explicitly. You can check that the two code snippets
# are exactly the same, if you 'unwrap' the loops (go over the values that 'i'
# will have in each loop)
maximum = a
for i in [a,b,c]:
if i > maximum:
maximum = i
print maximum