Lily attends a swimming class every Monday, Wednesday, and Friday. There are 40 weeks in the swimming season, and she missed 2 Mondays, 3 Wednesdays, and 1 Friday due to illness. How many swimming classes did she attend during the season? Let's think step by step and output the final answer within \boxed{}.
user