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