public class A {
  public int m(int x) {
    return ((x & x) | x) ^ x;
  }
}