You're almost right. Your error results in the sense that you are using the quoted expression: '(0 v 0). When you quote an expression, everything is interpreted as its face-value, meaning the variable v is not evaluated to what the value is supposed to be and is read as a symbol. That's why the error you're encountering indicates that the symbol V has been passed when a number is to be expected.
To fix it, you will need to open a list. So instead of '(0 v 0), you should write (list 0 v 0) instead, so that v is evaluated to your user input.