a = int(input("First bimester: "))
while a > 10:
    print("You type it wrong. First bimester.")
b = int(input("Second bimester: "))
while b > 10:
    print("You type it wrong. Second bimester.")
c = int(input("Third bimester: "))
while c > 10:
    print("You type it wrong. Third bimester")
d = int(input("Fourth bimester: "))
while d > 10:
    print("You type it wrong. Fourth bimester.")
average = (a + b + c + d) / 4
if a <= 10 and b <= 10 and c <= 10 and d <= 10:
    print("Average: {}".format(average))
# else:
#     print("Wrong note was reported.")
print("End Program!")

# a = int(input("Enter the first value: "))
# b = int(input("Enter the second value: "))
# rest_a = a % 2
# rest_b = b % 2
# if rest_a == 0 or rest_b == 0:
#     print("An even number was entered.")
# else:
#     print("No even number were entered.")
# print("End of program!")


# a = int(input("First value: "))
# b = int(input("Second value: "))
# c = int(input("Third value: "))
# if a > b and a > c:
#     print("The highest value is: {}".format(a))
# elif b > a and b > c:
#     print("The highest value is: {}".format(b))
# else:
#     print("The highest value is: {}".format(c))
# print("End of program.")

a = int(input("First bimester: "))
while a > 10:
    print("You type it wrong. First bimester.")
b = int(input("Second bimester: "))
while b > 10:
    print("You type it wrong. Second bimester.")
c = int(input("Third bimester: "))
while c > 10:
    print("You type it wrong. Third bimester")
d = int(input("Fourth bimester: "))
while d > 10:
    print("You type it wrong. Fourth bimester.")
average = (a + b + c + d) / 4
if a <= 10 and b <= 10 and c <= 10 and d <= 10:
    print("Average: {}".format(average))
# else:
#     print("Wrong note was reported.")
print("End Program!")

# a = int(input("Enter the first value: "))
# b = int(input("Enter the second value: "))
# rest_a = a % 2
# rest_b = b % 2
# if rest_a == 0 or rest_b == 0:
#     print("An even number was entered.")
# else:
#     print("No even number were entered.")
# print("End of program!")


# a = int(input("First value: "))
# b = int(input("Second value: "))
# c = int(input("Third value: "))
# if a > b and a > c:
#     print("The highest value is: {}".format(a))
# elif b > a and b > c:
#     print("The highest value is: {}".format(b))
# else:
#     print("The highest value is: {}".format(c))
# print("End of program.")

# else: #     print("Wrong note was reported.") # a = int(input("Enter the first value: ")) # b = int(input("Enter the second value: ")) # rest_a = a % 2 # rest_b = b % 2 # if rest_a == 0 or rest_b == 0: #     print("An even number was entered.") # else: #     print("No even number were entered.") # print("End of program!") # a = int(input("First value: ")) # b = int(input("Second value: ")) # c = int(input("Third value: ")) # if a > b and a > c: #     print("The highest value is: {}".format(a)) # elif b > a and b > c: #     print("The highest value is: {}".format(b)) # else: #     print("The highest value is: {}".format(c)) # print("End of program.")