note_deutsch = int(input("Deutschnote: "))
note_englisch = int(input("Englischnote: "))
note_mathematik = int(input("Mathematiknote: "))
ist_zugelassen = False
if note_deutsch <= 4:
    if note_englisch <= 4:        
        if note_mathematik <= 4:
            if (note_deutsch + note_englisch + note_mathematik) / 3 <= 3:
                ist_zugelassen = True
if ist_zugelassen == True:
    print("Die Aufnahme ist möglich.")
else:
    print("Aufnahme ist nicht möglich.")
            