a=int(input("No. of Prime Numbers"))
count=0
for i in range(1,1000):
    for j in range(2,i):
        if i%j!=0:
            pass
        elif i%j==0:
            break
    else:
        print(f"{i}")
        count+=1
        if count==a:
            break

42c1618d8b07b2429a86d576de59864c6cafba18
<mask token>

<mask token>
for i in range(1, 1000):
    for j in range(2, i):
        if i % j != 0:
            pass
        elif i % j == 0:
            break
    else:
        print(f'{i}')
        count += 1
        if count == a:
            break

a = int(input('No. of Prime Numbers'))
count = 0
for i in range(1, 1000):
    for j in range(2, i):
        if i % j != 0:
            pass
        elif i % j == 0:
            break
    else:
        print(f'{i}')
        count += 1
        if count == a:
            break

a=int(input("No. of Prime Numbers"))
count=0
for i in range(1,1000):
    for j in range(2,i):
        if i%j!=0:
            pass
        elif i%j==0:
            break
    else:
        print(f"{i}")
        count+=1
        if count==a:
            break
