currentNumber = float (raw_input ("Pleace enter a random number? "))

if (currentNumber%2 == 0):

	finalNumber = 3 * (currentNumber + 1)

	print (finalNumber)

else:

        finalNumber = currentNumber / 2

	print (finalNumber)
