Pre PYQs CSAT

UPSC Prelims 2021 CSAT question 66

Using 2, 2, 3, 3, 3 as digits, how many distinct numbers greater than 30000 can be formed ?