Skip to content
C

Count Digits and Digit Sum

Easyjavapythonccppjavascript

Given a non-negative integer N, find the number of digits it has and the sum of those digits.

Input Format

A single line containing the integer N.

Output Format

Print two lines: Digits = d Sum = s

Input (stdin)

Output

Run your code to see output here...