Solving Tasks From Homework ConsoleOutputInput