Consider a number \( N \) which is the factorial of some positive integer \( n \), i.e., \( N = n! \). If the number of positive divisors of \( N \) is 24, find the value of \( n \). Let's think step by step and output the final answer within \boxed{}.
user