print("=================================")
print("Latihan no 3")
x = 9
while x > 5:
    print(x)
    x = x - 1
print("Jawabannya : B.9,8,7,6")
print("----------------------------")
print("Latihan no 4")
X = 5
while X < 10:
    print(X)
    X = X + 1
print("Jawabannya : E.5,6,7,8,9")
print("----------------------------")
print("Latihan no 5")
B = 8
for i in range(5,10):
    print(i)
    if i is B:
        break
print("Jawabannya : A.5,6,7,8")
for i in range(10):
    print(i+1)
for i in range(2,9):
    print(i)