Đếm số lượng chữ số lẻ

View as PDF



Authors:
Problem types
Points: 800 Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Cho số nguyên dương \(n\). Hãy đếm số lượng chữ số lẻ có trong \(n\) (Chú ý \(n\) có thể là số rất lớn).

Input

  • Một dòng duy nhất chứa số nguyên dương \(n\)

Output

  • In ra đáp án cần tìm

Example

Test 1

Input
12350
Output
3

Comments (33)

Most recent
Loading comments...