Answer:
a
f
g
b
d
e
c
Explanation:
You can also use a dictionary for this as well!
I hope this helps!