max of 4

Given 4 integers your task is to find the maximum of those 4.
Input
Output
1 2 3 4
4
4 3 2 2
4
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue