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