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