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