int pow(int x, int y)
{
for (int i = 0; i < y; i++)
i*= i;

return i;
}