For this Question: Negi is fascinated with the binary representation of the number. Tell him the number of set bits (ones) in the binary representation of an integer N.The first line of the input contains single integer N.

Constraints
1 <= N <= 1000000000000The output should contain a single integer,  the number of set bits (ones) in the binary representation of an integer N.Sample Input
7

Sample Output
3

Sample Input
16

Sample Output
1, I have written this Solution Code: a=int(input())
l=bin(a)
print(l.count('1')), In this Programming Language: Python, Now tell me if this Code is compilable or not?