Ori Sein overcome difficult challenge they finally light Shrouded Lantern find Gumon Seal key Forlorn Ruins when try open door ruin happenedOri surprise Sein give explanation quickly clever Gumon decide additional defence doorThere n lamp Spirit Trees light Sein know time turn ith lamp l_i r_i respectively to open door choose k lamp way moment time turn onWhile Sein decide k lamp pick Ori interested way pick k lamp door open it happen Sein wrong k lamp the answer large print modulo 998244353