update
adding task 3 by Input/Output