omkar recent follower Ajit enter Holy Forest Ajit realize Omkars forest n m grid 1 leq n m leq 2000 nonnegative integer since forest bless Omkar satisfy special condition for adjacent sharing cell absolute value difference number 1 if number cell strictly large 0 strictly great number cell adjacent Unfortunately Ajit fully worthy omkar power he see cell 0 if cell label 0 number equal 0 otherwise number nonnegative integerDetermine different assignment element exist special condition satisfy two assignment consider different exist cell number write assignment different since answer enormous find answer modulo 1097