For this Question: Given an Array A of size N. For each index i you have to tell the count of numbers which have index greater than i and are multiples of A[i].<b>User task:</b> Since this is a functional problem you don't have to worry about the input. You just have to complete the function <b>countOfNumbers(A, n)</b> which contains A(array) and n(size of array) as a parameter

<b>Constraints</b> 
1<=N<=1000
1<=A[i]<=1000000

For <b> Custom input:-</b>
The first line of the input should contains an integer N ,length of Array .
Next line contains N integers which are elements of ArrayYou need to return the list which contains the answer for each person ith integer. The driver code will take care of displaying them Sample Input
3
1 2 3

Sample Output
2 0 0

Explanation : 2,3 are multiple of 1 

Sample Input
5
6 4 3 4 1 

Sample Output
0 1 0 0 0 
, I have written this Solution Code: def countOfNumbers(A,n):
     cnt = []
     for i in range (0 ,n ):
         ans=0;
         for j in range (i+1,n):
             if A[j]%A[i]==0:
                 ans=ans+1
         cnt.append(ans)
     return cnt
     

, In this Programming Language: Python, Now tell me if this Code is compilable or not?