wrote input portion
outputs of the sample test cases are correct
solve 2302_On_of_Off
Merge branch 'feature-2302'