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