input = List l initialize max as Integer forEach i in l ask:if i > max then max = i endIf next say(max)