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