Problem1648--exam2-sum and average

1648: exam2-sum and average

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 207  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

Input some integers and k, and output odd numbers(increasing order), sum, average (rounding)of all numbers that are not larger than k.

Input

some integers and k

Output

odd numbers, sum, average of all numbers that are not larger than k.

Sample Input Copy

11
20
91
111
1
100

Sample Output Copy

1
11
91
103
34

Source/Category

139