I am at learning stage that\'s why I am asking
Example:-
input = 5
output = 120
5 = 5 * 4 * 3 * 2 * 1 ( its sum which is 120 )