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