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