https://numbas.mathcentre.ac.uk/question/22814/modulo-arithmetic-the-least-residue-of-a-given-number/embed/