x = 10 io.write("Enter the name of the variable you want to be printed: ") index = io.read() f = loadstring("return " .. index) print(f())