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