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