How to approach the problem statement?
Read the problem statement carefully and try to convert it into the mathematical form and focus only on the parts which are important to solve the question

The Problem Statement

Example - Colleen is turning N years old! Therefore, she has N candles of various heights on her cake, and candle i has height Hi. Because the taller candles tower over the shorter ones, Colleen can only blow out the tallest candles.

The Problem Statement

Given the height Hi for each individual candle, find and print the number of candles she can successfully blow out.

I/O Format & Constraints

Input Format

The first line contains a single integer, N, denoting the number of candles on the cake. The second line contains N space-separated integers, where each integer i describes the height of candle i.

I/O Format & Constraints

Constraints

1 <= N <= 10^5

1 <= Hi <= 10^7

I/O Format & Constraints

Output Format

Print the number of candles Colleen blows out on a new line.