Now uses System.out.print for the input fields.