US economy contracts for the first time in 3-1/2 years