33.35%

Given a number N, check if N is power of 4 or not.

**Input:**

You have to complete the method which takes 1 argument: the number N .You should not read any input from stdin/console. There are multiple test cases. For each test case, this method will be called individually.

**Output:**

Your function should return 1 if N is power of 4, else return 0.

**Constraints:**

1<=T<=50

1<=N<=100000000

**Example:**

**Input:**

2

64

75

**Output:**

1

0

All Is Well | 176 |

Srinivas Chakravarth | 142 |

ioan | 131 |

praveen2809 | 116 |

Diplav Srivastava | 105 |

Lam Ngoc Pham | 405 |

All Is Well | 365 |

Divvya Sinha | 356 |

skull tone | 310 |

Prateek Gole | 309 |

akhayrutdinov | 3805 |

sanjay05 | 3366 |

Michael Riegger | 2014 |

Jasleen Kaur 2 | 2012 |

Quandray | 1933 |