1. Nезнayka, Doctor Pilulkin, Knopochka, Vintik, and Znayka participated in a math competition. Each problem in the competition was solved by exactly four of them. Znayka solved strictly more than each of the others - 10 problems, while Nезнayka solved strictly fewer than each of the others - 6 problems. How many problems were there in the math competition?