题目描述
Jimmy has a prime number Sack that can hold a certain weight of prime numbers, and the weight is equal to the sum of the prime numbers. Due to the limited carrying capacity of the Sack, please help Jimmy calculate the maximum number of prime numbers that this pocket can hold.
输入格式
The weight that a sack can carry
输出格式
Each number occupies one row, output the prime numbers loaded and the number of prime numbers output