Fixed print statement

I declared the values of the variables in the wrong place