""" write a program whose input is two integers. output the first integer and subsequent increments of 5 as long as the value is less than or equal to the second integer. """

first_integer = int(input("Enter First Integer : "))
second_integer = int(input("Enter Second Integer : "))

if first_integer < second_integer:
for temp in range(first_integer, second_integer + 1, 5):
print(temp, end=" ")
else:
print("Invalid Input !")