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