#370. n次方

n次方

n,m,oを与えてn ^ m ^ oを見つけ、それがlongを超えると-1を出力する