read while read n do echo $[n<9&442>>n?1:2] done