A Reduction from Apprenticeship Learning to Classification