A man bought 500 mangoes and found 1/4 of them rotten .If he sold the rest of mangoes at 3.36 each making 12% profit ,what was the cost price of each mango?​