A match was played between India and Pakistan. The highest score of Pakistan was 3÷7 of their total and their next highest score was 2÷7 of the remainder and these two highest runs differ by 39. Find the total runs scored by Pakistan.​