package main import("fmt";."math/big") func main(){i:=new(Int);for{n,_:=fmt.Scan(i);if n<1{break};fmt.Println(i.Exp(i,NewInt(4),nil))}}