5. WAP to accept any number display their factors. Example: Input number - 6 Factors - 1,2,3,6

Input number