num1 = int(input("Введите ваше число"))
print("The next number for the number",num1, "is",num1+1)
print("The previous number for the number",num1,"is",num1-1)
2c05f5f968e1914f10b62ec4e458b1664382816d
<mask token>

<mask token>
print('The next number for the number', num1, 'is', num1 + 1)
print('The previous number for the number', num1, 'is', num1 - 1)

num1 = int(input('Введите ваше число'))
print('The next number for the number', num1, 'is', num1 + 1)
print('The previous number for the number', num1, 'is', num1 - 1)

num1 = int(input("Введите ваше число"))
print("The next number for the number",num1, "is",num1+1)
print("The previous number for the number",num1,"is",num1-1)