first exercise, replace puts with print