new motor how to wire it up

The new motor i got , part number 030655 is different because it has numbers instead of color coated wires , also ,on the old motor ,the wires went on a square piece .The new motor has a rectangular piece and the numbers are not in order. On the old motor the yellow wire went on the top left
black - bottom left
red - top right
gray- middle right
blue -bottom right
Thank you. I hope you can tell me what number each color is .