Case = int(input())
num_list = list(map(int, input().split(' ')))
res_counting = 0
for i in num_list:
cnt = 0
if(i == 1):
continue
for j in range(2, i + 1):
if(i % j == 0):
cnt += 1
if(cnt == 1):
res_counting += 1
print(res_counting)
'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글
백준 2581번(python) (0) | 2019.05.31 |
---|---|
백준 1929번(python) (0) | 2019.05.31 |
백준 1181번(python) (0) | 2019.05.30 |
백준 2108번(python) (0) | 2019.05.30 |
백준 1427번(python) (0) | 2019.05.29 |