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