LearnPy Hub
← Matplotlib Charts problems
Medium

Colour the Highest Bar

Read values. Draw a bar chart where the tallest bar (the first if tied) is red and the others gray. Print each bar's colour as a hex code with matplotlib.colors.to_hex(bar.get_facecolor()), on one line.

Input

One line of integers.

Output

One line.

Sample 1

Input
3 7 2
Output
#808080 #ff0000 #808080

Sample 2

Input
5
Output
#ff0000
solution.py
Output appears here
Colour the Highest Bar · Python practice problem · LearnPy Hub