public static void main(String[] args) throws SummerMissingException {
        
        Programmetajs programmetajs = new Programmetajs();
        Vasara vasara = new Vasara();
        
        programmetajs.Vards = "Janis";
        vasara.VidejaTemperatura = 20;

        if (vasara.VidejaTemperatura < 20) throw new SummerMissingException(":(");

        Random random = new Random(441287210); 
        int sodienasTemperatura = random.nextInt(10)*30;

        if (sodienasTemperatura > vasara.VidejaTemperatura) 
        {
            programmetajs.PrasitAtvalinajumu = true;
            programmetajs.Atvalinajums = new Atvalinajums()
            {{
            DienuSkaits = 15;
            BrauciensArpusLatvijas = true;
            }};
        } else {
            programmetajs.PrasitAtvalinajumu = false;
        }

        String brauciens = programmetajs.PrasitAtvalinajumu ? "dosies arpus Latvijas " + programmetajs.Atvalinajums.DienuSkaits + " dienu atvalinajuma" : "paliks darba";
        System.out.println(programmetajs.Vards + " " + brauciens);
    }