The economy contracted 17.1% from the same period a year earlier, the most since at least 1994.