Parse 'METHOD path status' lines, print totals + 2xx/4xx/5xx + most-hit path.
Each line of stdin has THREE whitespace-separated fields: method, path, status.
Print exactly 5 lines, in this order:
```
total=<N>
2xx=<count of statuses 200-299>
4xx=<count of statuses 400-499>
5xx=<count of statuses 500-599>
top=<the path that appears most often>
```
If multiple paths tie for most-hit, pick the one that appears EARLIEST in the input.
Sign in to save your code and track progress across devices.