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