use bigint;print+bmodpow{3}<>,998244353