Mrs. Biswah bought two types of walnuts from a wholesale shop, where the cost of the second type is 33.33% of that of the first type. She then mixed both the types of walnuts and sold them for Rs. 520/kg and made a profit of 30%. If the quantity of the first type of walnut is 20% of that of the second type, then find the average of the cost prices of both types of walnut per kg.