Licson Lee says to YSITD
while x != 0 n = x % y x = n