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