Write a program that reads an integer number and prints one of the letters below:
Fif the number is 0, 1, 2, 3, 5, 8, 13, 21, 34, 55 (the Fibonacci numbers)Tif the number is 0, 1, 3, 6, 10, 15, 21, 28, 36, 45 (the Triangle numbers)Pif is the power of 10: 1, 10, 100, 1000, 10000, 100000Nif otherwise.
Follow the order. You do not need to consider other numbers (as 89 is a Fibonacci number, but the program must print N because it does not belong to the given subsequence).