A photocopy machine was sold at 12% discount with 13% VAT. If the customer paid Rs. 3,57,984 then find VAT amount and discount amount. ​