Write a program to obtain a number $N$ and increment its value by 1 if the number is divisible by 4 $otherwise$ decrement its value by 1.

-----Input:-----
- First line will contain a number $N$.

-----Output:-----
Output a single line, the new value of the number.

-----Constraints-----
- $0 \leq N \leq 1000$

-----Sample Input:-----
5

-----Sample Output:-----
4

-----EXPLANATION:-----
Since 5 is not divisible by 4 hence, its value is decreased by 1.

Source: codechef | Difficulty: EASY


Solutions:
n = int(input())
if n % 4 == 0:
	print(n + 1)
else:
	print(n - 1)


a = int(input())
if a % 4 == 0:
	print(a + 1)
else:
	print(a - 1)


n = int(input())
print((lambda x: n - 1 if n % 4 else n + 1)(n))


x = int(input())
if x % 4 == 0:
	print(x + 1)
else:
	print(x - 1)


N = int(input())
if N % 4 == 0:
	N += 1
else:
	N -= 1
print(N)


t = int(input())
if t % 4 == 0:
	print(t + 1)
else:
	print(t - 1)


num = int(input())
if num % 4 == 0:
	print(num + 1)
else:
	print(num - 1)


s = int(input())
if s % 4 == 0:
	print(s + 1)
else:
	print(s - 1)


p = int(input())
if p % 4 == 0:
	print(p + 1)
else:
	print(p - 1)


n = int(input())
if n % 4 == 0:
	a = n + 1
	print(a)
else:
	b = n - 1
	print(b)


m = int(input())
if m % 4 == 0:
	m = m + 1
else:
	m = m - 1
print(m)


b = int(input())
if b % 4 == 0:
	print(b + 1)
else:
	print(b - 1)


i = int(input())
if i % 4 == 0:
	print(i + 1)
else:
	print(i - 1)