Source: https://www.toupty.com/exercice-math/5eme/exercice-arithmetique-5eme-1.pdf