Please reason step by step, and put your final answer within \boxed{}.
While preparing for the district olympiad, each jury member participated in no more than 10 discussions. There are two types of discussions: small and large. In a small discussion, 7 jury members participate, each sending exactly one email to each of the 6 other members. In a large discussion, 15 jury members participate, each sending exactly one email to each of the 14 other members. A total of 1994 emails were sent, not counting the emails sent by the secretary. In how many discussions did the secretary participate?
user