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