puts (("\n"+`dd`).match(/[a-z]|[A-Z]|\n0+\d/))? "NG":"OK"