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