I have literally no idea how to start this. Can someone give me the first step, or the formula to use?Take $\displaystyle N$ balls, number them $\displaystyle 1, ...,N$ with a pen, and put them in a bag. Then draw n of them with replacement, recording the numbers $\displaystyle X_1, ..., X_n$.

Question: What is the distribution of $\displaystyle X = max(X_1, ..., X_N)$, and $\displaystyle Y = min(X_1, ..., X_N)$?