The proper places to put commas in the following sentence:

 

After examining the situation the team which had worked all day couldn't find an appropriate and timely solution.

 

Answer in the form of a question