There are 6 baskets on the table. Each basket has 2, 8, 1, 9, 17 and 13 apples. Liam chose sixth, John chose fourth, Olivia chose third, Sean chose second, Matt chose first, and Emma chose fifth. How many apples did Liam and John choose in total?