At an event where chairs are to be arranged in rows, when 27 chairs are arranged in each row, 12 chairs are left and when 28 chairs are arranged in a row, there will be 5 chairs left. How many chairs are available for the event and how many possible rows can be gotten?