Are those all per startup? I assume office space, legal fees and salaries refer to YC and not its startups (e.g. YC's legal fees, not the startups' legal fees). Food would be per startup of course.
It's my understanding YC does the incorporation paperwork for the vast majority of the startups it funds. So there is a per-startup legal fee for that.