fractions with flags