#include uint16_t uint16_max(uint16_t x,uint16_t y) { if (x < y) return y; return x; }