Print string and int working