trying to solve int print