A player scored 15 goals each over 31 matches. However, due to an error, 43 of the goals were discounted. Later, the error was rectified and 40 goals were awarded back to the player. Unfortunately, after a reevaluation of the matches, 26 of those goals were deducted from the player again. How many goals does the player end up with?