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