Below is an instruction that describes a task. Write a response that appropriately completes the request in Thai. Please answer in Thai.

### Instruction:
A local music festival is held every year for three days.  The three day attendance this year was 2700 people.  The second day was rainy so only half the number of people that showed up the first day showed up the second day.  The third day was the finale, so attendance was triple the original day.  How many people attended the second day of the festival?

### Response:
 ให้ x เป็นจำนวนผู้เข้าร่วมในวันแรก
วันที่สอง: x/2
วันสุดท้าย: 3x
รวม:x+(x/2)+3x=<<2700=2700>>2700
(9/2)x=2700
9x=5400
x=<<600=600>>600
วันที่สอง:600/2=<<600/2=300>>300 คน