a = 1
b = 1
print("With elif:")
if a == 1:
print("a")
elif b == 1:
print("b")
else:
print("c")
print("Without elif:")
if a == 1:
print("a")
if b == 1:
print("b")
else:
print("c")
print("With nested else:")
if a == 1:
print("a")
else:
if b == 1:
print("b")
else:
print("c")
YSA9IDEKYiA9IDEKCnByaW50KCJXaXRoIGVsaWY6IikKaWYgYSA9PSAxOgogICAgcHJpbnQoImEiKQplbGlmIGIgPT0gMToKICAgIHByaW50KCJiIikKZWxzZToKICAgIHByaW50KCJjIikKCnByaW50KCJXaXRob3V0IGVsaWY6IikKaWYgYSA9PSAxOgogICAgcHJpbnQoImEiKQppZiBiID09IDE6CiAgICBwcmludCgiYiIpCmVsc2U6CiAgICBwcmludCgiYyIpCiAgICAKcHJpbnQoIldpdGggbmVzdGVkIGVsc2U6IikKaWYgYSA9PSAxOgogICAgcHJpbnQoImEiKQplbHNlOgogICAgaWYgYiA9PSAxOgogICAgICAgIHByaW50KCJiIikKICAgIGVsc2U6CiAgICAgICAgcHJpbnQoImMiKQ==