$x=$_[1];$x--while grep$_%$x,@_;map$_/$x,@_ [download]
In reply to Re: (Golf) Fraction Reduction by no_slogan in thread (Golf) Fraction Reduction by Masem