// editor1
import java.util.*;
class main{
    public static void main(String[]args)
    {
        Scanner sc=new Scanner(System.in);
        int a=sc.nextInt();
        if (a>0&&(n&(n-1))==0){
            System.out.println(a+" is a power of two");
            
        }
        else{
            System.out.println(a+" is not a power of two");
        }
    }
}