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