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