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