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