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