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