Calculate deviations in exercise A and exercise B. Calculate deviations in exercise A and exercise B.