In an examination it is required to get a minimum of 340 marks in aggregate to pass. A student gets 244 marks and is declared failed by 12% of the total marks. What are the maximum aggregate marks a student can get?