System.in.splitEachLine(' '){x,y->Eval.me"println ${x}g.modPow($y,10)"}