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