If $^{n}P_{2}=30$, the value of n is | ClassNotes