package MaxCommFactor func MaxComm(x, y int) int { for y != 0 { x, y = y, x%y } return x }