Problem Description
Given an integer A, count and return the number of trailing zeroes.
1 <= A <= 109
First and only argument is an integer A.
Return an integer denoting the count of trailing zeroes.
Input 1:
A = 18
Input 2:
A = 8
Output 1:
1
Output 2:
3
Explanation 1:
18 in binary is represented as: 10010, there is 1 trailing zero.
Explanation 2:
8 in binary is represented as: 1000, there are 3 trailing zeroes.
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.