There are 6 baskets on the table. Each basket has 17, 13, 16, 12, 7 and 5 apples. Emma chose second, Sean chose fourth, Matt chose fifth, Olivia chose third, John chose first, and Liam chose sixth. Who chose the basket with the least apples?