## MAXEZ - Finding Max

There is a list and it is empty. You are given some number. Your task is simple: add the given numbers to the list and print the maximum number from the list.

### Input

First line contains **T** (0 < T <= 10^{6}) which is the number of queries.

Second line contains **T** numbers **n _{i}** (0 <= n

_{i}<= 10

^{7}) which have to be inserted into the list.

### Output

Print a maximum number that presents in the list in one line.

### Example

Input:5

1 2 3 5 4Output:5

Added by: | Lucas |

Date: | 2017-11-05 |

Time limit: | 1s |

Source limit: | 50000B |

Memory limit: | 1536MB |

Cluster: | Cube (Intel G860) |

Languages: | All |