summaryrefslogtreecommitdiff
path: root/progs/a938.py
blob: 823cea3c27c48690ac0aa114b14a1482525cae36 (plain)
1
2
3
4
5
6
7
8
def count_no (A,N,L,R): 
    count = 0
    for i in range (L,R + 1): 
        if (i % A != 0): 
            count += 1
        if (count == N): 
            break
    return (i)