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