Greedy Decoding and Beam Search