Added prefix to input and print