Geek has N dollars in his bank account. He wants to withdraw all of it but the bank only allows withdrawal of an amount that is a divisor of the current amount in the bank and is less than the current amount.
If Geek withdraws the maximum possible amount each day, how many days does he need to take out all of his money from the bank? Note: If the remaining amount is 1, he can withdraw it.

You don't need to read input or print anything. Your task is to complete the function numberOfDays() which takes an integer N as input parameter and returns the number of days Geek needs to withdraw all of his money.

Expected Time Complexity: O(sqrt(N)) Expected Auxiliary Space: O(1)