Simplify input reading in 001-shl-bin.