How do you make this print(X) instead of the error message "invalid literal for int() with base 10: X"?