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