Skip to main content

~/algor $ cat contests/round-9/D

D. Sum and count of digits

Problem D ICPC rules 1000 ms 64 MB

A positive integer is given. Compute the number of its digits and the sum of its digits.

Counting the digits of a number and adding them up

Input

One integer .

Output

One line with two integers separated by a space: the number of digits and the sum of digits.

Note

Examples

Input #1
1234
Output #1
4 10
Input #2
508
Output #2
3 13

Sign in to submit a solution

Signing up is free and takes a minute.