local acum = 1
local n1 = 6
for i = 1, 9, 1 do
if n1 % 2 == 0 then
acum = acum * 2
n1 = n1 / 2
elseif n1 % 3 == 0 then
acum = acum * 3
n1 = n1 / 3
elseif n1 % 5 == 0 then
acum = acum * 5
n1 = n1 / 5
elseif n1 % 7 == 0 then
acum = acum * 7
n1 = n1 / 7
end
if n1 == 1 then break end
end
print(acum)
bG9jYWwgYWN1bSA9IDEKbG9jYWwgbjEgPSA2CmZvciBpID0gMSwgOSwgMSBkbwogICAgaWYgbjEgJSAyID09IDAgdGhlbgogICAgCWFjdW0gPSBhY3VtICogMgogICAgCW4xID0gbjEgLyAyCiAgICBlbHNlaWYgbjEgJSAzID09IDAgdGhlbgogICAgCWFjdW0gPSBhY3VtICogMwogICAgCW4xID0gbjEgLyAzCiAgICBlbHNlaWYgbjEgJSA1ID09IDAgdGhlbgogICAgCWFjdW0gPSBhY3VtICogNQogICAgCW4xID0gbjEgLyA1CiAgICBlbHNlaWYgbjEgJSA3ID09IDAgdGhlbgogICAgCWFjdW0gPSBhY3VtICogNwogICAgCW4xID0gbjEgLyA3IAogICAgZW5kCiAgICBpZiBuMSA9PSAxIHRoZW4gYnJlYWsgZW5kCmVuZApwcmludChhY3VtKQ==