单项选择题

It ______ me two days and three nights to get to my hometown from Beijing by train.

A. cost
B. took
C. spent
D. consumed