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