public class Demo {
public static void main(String[] args) {
// TODO Auto-generated method stub
//要求使用一行代码写完
//数学的妙用
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
if (((N-1)&N) == 0) {
System.out.println("yes");
}else System.out.println("no");
sc.close();
}
}
03-05
373