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