Pick out the past perfect tense from the following.
AI had been working in a hostel
BI had worked in a hostel
CI was working in a hostel
DI have worked in a hostel
AI had been working in a hostel
BI had worked in a hostel
CI was working in a hostel
DI have worked in a hostel