MAGGNUM - Trova il numero maggiore

Given a list of integers, find the largest number. If the list is empty, the result must be 0.

NOTE: To read the input list in Python, you can, for example, use the command lis=eval(input()) which stores the input list in the variable lis. To write the integer to the output you can, for example, use the print command followed by the name of the entire result.

Input

A list of integers or an empty list.

Output

The largest number in the list or 0 if the list is empty.

Example

Input:
[4,5,67,2,3,0]

Output:
67

Added by:giorgio.piccardo
Date:2018-04-16
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:NCSHARP JULIA PYPY3 PYTHON3

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.