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