from statistics import mode
from fractions import Fraction as fr
d1 = (2, 3, 3, 5, 5, 5, 6)
d2 = (2.4, 1.3, 1.3, 2.4, 1.3)
d3 = (fr(1, 2), fr(1, 2), fr(2, 3))
d4 = (-2, -2, -7, -7, -2)
d5 = ("red", "blue", "blue", "black", "black", "black")
print("Mode 1:", mode(d1))
print("Mode 2:", mode(d2))
print("Mode 3:", mode(d3))
print("Mode 4:", mode(d4))
print("Mode 5:", mode(d5))