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