A shop owner bought 30 flies and some diaries .he paid $82.50 for the flies.each diary cost 10 times as much as file.what was the cost of each diary?