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