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