Problems

# Those that are divisible by 6

For n integers find the sum and the number of positive integers divisible by 6.

#### Input

First line contains amount of integers n (0 < n100), next line contains n numbers that do not exceed 10000 by absolute value.

#### Output

Print the number of required numbers and their sum.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
12 15 18


Output example #1
2 30

Source SFE-2010 Variant 8