user input printed in reverse