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