If you leave in the 1st year, you have to pay back all the monthly allowances plus all the bonuses.
If you leave in the 2nd year, you have to pay back 2/3 of the monthly allowances and first-year bonus together with all the special bonus in the 2nd year.
If you leave in the 3rd year, similarly.
Remember, always save at least half of the money you earned
the money you earned because they don't belong to you.