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