<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dominant_flat_five(note):
 """Build a dominant flat five chord on note. Example: ['C', 'E', 'Gb', 'Bb'] """

    res = dominant_seventh(note)
    res[2] = notes.diminish(res[2])
    return res