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