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