reduzindo shift/reduce