The economy shrunk by 0.3% in the third quarter of the year after a revised marginal growth of 0.3% in the second quarter.