50 : 7 = 7 (ост.1)
7 * 7 + 1 = 50
50 = 50
-----------------------------
67 : 8 = 8 (ост.3)
8 * 8 + 3 = 67
67 = 67
-----------------------------
76 : 9 = 8 (ост.4)
8 * 9 + 4 = 76
76 = 76
----------------------------
8 : 9 = 0 (ост. 8)
0 * 9 + 8 = 8
8 = 8
----------------------------
30 : 4 = 7 (ост.2)
7 * 4 + 2 = 30
30 = 30