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