<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def currencies(self):
 """Get all currencies with non-zero values"""

        return [m.currency.code for m in self.monies() if m.amount]