300 people joined the community orchestra. Some intended to play a string instrument, some a brass instrument, and the others percussion. If 3 times as many people were planning to play a string instrument as a brass instrument, and if 60 fewer were going to play percussion than a brass instrument, how many people were planning to play each type of instrument?