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