<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_int(self, integer):
 """Set the Note corresponding to the integer. 0 is a C on octave 0, 12 is a C on octave 1, etc. Example: 'C-1' """

        self.name = notes.int_to_note(integer % 12)
        self.octave = integer // 12
        return self