#include long labs(long a) { return a > 0 ? a : -a; }