#include int abs(int i) { return (i < 0) ? (-i) : (i); }