Shivani is a kickboxing instructor who will be teaching classes at a local gym. To get certified as an instructor, she spent a total of $133. Shivani will be earning a base salary of $77 per month from the gym, plus an additional $14 for every class she teaches. If Shivani teaches a certain number of classes during her first month as an instructor, she will earn back the amount she spent on certification. How much will Shivani's expenses and earnings be? How many classes will that take?