There are 6 baskets on the table. Each basket has 6, 3, 15, 12, 10 and 17 apples. Matt chose sixth, John chose second, Liam chose third, Emma chose first, Olivia chose fourth, and Sean chose fifth. How many apples did John and Liam choose in total?