ProgramB solves assignment C
assignment a + c done, but not working on ejudge