#### Reading the Input Data

Again, we begin by declaring and initializing the necessary variables:

The period in which we have to make the calculations is read from the console and saved in the period variable. We will also need some helping variables: the number of treated patients (treatedPatients), the number of untreated patients (untreatedPatients) and the number of doctors (countOfDoctors), which is initially 7.