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