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