#include <iostream>
#include <cstdint>

enum A {
    X = -1,
    XX = -1,
    Y = UINT64_MAX
};

int main()
{
	size_t t = sizeof(std::underlying_type<A>::type);
	std::cout << t;
	
}