#include <math.h>
bool isPowerOfFour(int n){
int i=0;
while(pow(4,i)<n) i++;
if(pow(4,i)==n) return true;
else return false;
}
#include <math.h>
bool isPowerOfFour(int n){
int i=0;
while(pow(4,i)<n) i++;
if(pow(4,i)==n) return true;
else return false;
}