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