I would like to input a number that is contained in (global) macro. The following code doesn't work.

Code:
    global N1 50
    global N2 70
    input str50 set N 
    "TEXT 1" $N1
    "TEXT 2" $N2
    end
    list
Would there be a way to fix? Thanks in advance. In my actual code, the macro variables, N1 and N2, will include something obtained from -return- or -ereturn-. So I would like to use macro in this context.