func main() const mod: int :: 998244353 var n: int :: cui@inputInt() var ans: int :: math@modPow(6, n / 2, mod) do cui@print("\{ans}\n") end func