Prompts the user for a positive integer input (2 <= n <= 5) and validates it. The function will continue to prompt the user until a valid input is received.
Prompts the user for a positive integer input (1 <= n) and validates it. The function will continue to prompt the user until a valid input is received.