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