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