Input done for part 1.b