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