Context: Y has just told X that he/she is considering switching his/her job.

X: Did your last job allow you a lot of autonomy?
Y: I had to work closely with a team.