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