Context: Y has just told X that he/she is thinking of buying a flat in New York.

X: Is it worthwhile to buy rather than rent?
Y: It depends on the location.