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