!usr/bin/env python
import psyco
psyco.full()
def main():
n,a=[int(x) for x in raw_input().split()]
i=0
t=0
for i in range(0,n):
b=int(raw_input())
if(b%a==0):
t=t+1
i=i+1
print '\n'
print t
main()
i am getting TLE for this program..in general the programs which i have solved using python results in TLE..how to spped up the process..since i am a begineer to this language..