Find gcd(36,22).
The last nonzero remainder (2 in this case) is the GCD. Actually it is the GCD of 6 and 8, but by the lemma it is also the GCD of 36 and 22.