#include uint64_t uint64_min(uint64_t x,uint64_t y) { if (x < y) return x; return y; }