Using only one System.out