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