Fixed While Statement

While statement for Factors