DescriptionCheck if a number is a power of 2Given a positive integer n, you are asked to find out if it’s a power of 2.InputThe first line of the input contains a single integer n (2 ≤ n ≤ ).OutputThe program should print Yes if n is a power of 2 and No otherwise.ExamplesInputOutput8Yes17No2048Yes ConstraintsTime limit: 2 secondsMemory limit: 512 MBOutput limit: 1 MBTo check your solution you need to sign in