Help me in solving ELECTN problem

My issue

My code


There are 
�
N people in Chefland where the age of the 
�
�
ℎ
i 
th
  person in 
�
�
A 
i
​
 .
Given that a person needs to be at least 
�
X years old to vote, find the number of eligible voters.


# cook your dish here

Problem Link: ELECTN Problem - CodeChef