Problem:

Compute the mode of ${9 \log (2), 4 \log (2), -3 \log (2), 2 \log (2), 2 \log (2), 2 \log (2), 9 \log (2), 4 \log (2), -12 \log (2), 4 \log (2), 9 \log (2), -3 \log (2), 4 \log (2), -14 \log (2), -12 \log (2), 4 \log (2), -14 \log (2), -14 \log (2), 2 \log (2), -3 \log (2), 4 \log (2), -12 \log (2), \log (2), 4 \log (2), 2 \log (2), 9 \log (2)}$.

import math

from statistics import mode

values = 9*math.log(2), 4*math.log(2), -3*math.log(2), 2*math.log(2), 2*math.log(2), 2*math.log(2), 9*math.log(2), 4*math.log(2), -12*math.log(2), 4*math.log(2), 9*math.log(2), -3*math.log(2), 4*math.log(2), -14*math.log(2), -12*math.log(2), 4*math.log(2), -14*math.log(2), -14*math.log(2), 2*math.log(2), -3*math.log(2), 4*math.log(2), -12*math.log(2), math.log(2), 4*math.log(2), 2*math.log(2), 9*math.log(2)
print(mode(values))
