In a cricket match, Team A scored 232 runs without losing a wicket. The score consisted of byes, wides and runs scored by two opening batsmen: Rick and Stew. The runs scored by the two batsmen are 26 times wides. There are 8 more byes than wides. If the ratio of the runs scored by Rick and Stew is 6:7, what were the runs scored by Rick?