Create a program that finds all prime numbers (質數) and calculates their sum.
Note: 1 is not a prime number!
A single line containing n space-separated integers.
1 <= n <= 100
Each integer in the line ranges from 1 to 1000.
A single integer indicates the sum of all prime numbers found in the line.