Normally when this kind of things happened, policeman would ask the first car how many bangs he heard/felt. As he already confirmed the third car was at fault, you just need to call your insurance to tell them what happened and get the report tomorrow for details.
The police report will have the third car insurance info. Take a deep breath and sleep soundly.