Prettyfied the input
Did code review - worked on console.