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