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