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