Move method print(int) to UserInteraction