Write a Scheme function which takes a list of triples and returns a list of numbers. The triples each consist of a number, then the symbol plus or times
plus
times