#include "maths.h" extern int abs(int n) { return n < 0 ? -n : n; }