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