Write a program that will identify odd and even number. If the number is odd multiply it by 3, otherwise add it by 10.