Automatic cup filling and sealing machine