When Thomas bought a cupboard, he was given 8% discount. If the discount amount was 960 rupees, what was the marked price of the cupboard?