1. Problem 1:

    Given a positive integer, find the number of digits in the factorial of the number.


    Input Specification

    Input will contain a single positive integer N input from keyboard, lesser than 1000000.


    Output Specification

    Output must be the number of digits in the factorial of the given number.


    Sample Input and Output

    Input: 5
    Output:2
    Input: 52
    Output: 68

  2. Problem 2:

    Find the number of zeroes at the end of factorial of a number.


    Input Specification

    Input will contain a single positive integer N input from keyboard, lesser than 10^9.


    Output Specification

    Output must be the number of zeroes at the end of the factorial of the given number.


    Sample Input and Output

    Input: 5
    Output:1
    Input: 25
    Output: 6