输入 n 和 n 个正整数,输出其中所有质数的和。
第一行输入一个整数 n。 第二行输入 n 个正整数。
输出一个整数。
4 2 3 4 5
10
1≤n≤1000,1≤ai_ii≤106^66
使用您的 www.mathcoding.online 通用账户