Lin sold 4 more shirts than Greg. Fran sold 3 times as many shirts as Lin. In total, the three sold 51 shirts. Which represents the number of shirts Greg sold?