The problem is that "MayanNumberType x" creates a new instance of the class. So you input the number into an instance of the class (which is destroyed when the function ends) and then you create...