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