def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

    return 1

N = int(input())
n = [int(input()) for i in range(N)]

a = [i for i in n if isprime(i)]

print(len(a)) def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

    return 1 isprime if n < 2: return 0
    elif n == 2: return 1

     n < 2 n 2 elif n == 2: return 1

     n == 2 n 2 if n % 2 == 0: return 0

     n % 2 == 0 n % 2 n 2 0 for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

     i range(3, n, 2) range 3 n 2 if i > n/i: return 1
         i > n/i i n/i n i if n % i == 0 : return 0

     n % i == 0 n % i n i 0 return 1 1 n n N = int(input()) N int(input()) int input() input int(input()) for i in range(N) for i in range(N) i range(N) range N for i in range(N) int(input()) int input() input n = [int(input()) for i in range(N)] n [int(input()) for i in range(N)] i for i in n if isprime(i) for i in n if isprime(i) i n isprime(i) isprime i if isprime(i) i a = [i for i in n if isprime(i)] a [i for i in n if isprime(i)] print(len(a)) print len(a) len a def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

    return 1 def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

    return 1 isprime N = int(input()) int(input()) N a = [i for i in n if isprime(i)] [i for i in n if isprime(i)] a n = [int(input()) for i in range(N)] [int(input()) for i in range(N)] n
def isprime(n):
    if n < 2: return 0
    elif n == 2: return 1

    if n % 2 == 0: return 0

    for i in range(3, n, 2):
        if i > n/i: return 1
        if n % i == 0 : return 0

    return 1

N = int(input())
n = [int(input()) for i in range(N)]

a = [i for i in n if isprime(i)]

print(len(a))
