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