Context: Y has just travelled from a different city to meet X.

X: Did you enjoy your journey?
Y: I was able to sleep on the plane.