C: Working on linear regression