1458: 函数解决绝对素数问题5

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:4

Description

实现两行行输入,每行包含数字n和n个两位数,没输入一行数据,就输出当前测试数据中绝对素数的个数。

Input

多行输入,每行包括数字n和n个两位数

Output

当前行中的绝对素数的个数,且单独占一行

Sample Input Copy

3 11 12 13
4 14 15 16 17

Sample Output Copy

2
1