text is CSV data with one header line and one footer summary line you don't
want. Parse it (treating text as an in-memory file via io.StringIO), skipping
the first and last lines and keeping only columns 0 and 2 (in that order).
Return the result.
solve(...)