Help me in solving PRACTICEPERF problem

My issue

My code


l=list(map(int, input().split()))
count=0
for i in l:
    if i>9:
        count+=1
        print(count)

Problem Link: PRACTICEPERF Problem - CodeChef