INPUT m
INPUT n
IF n < m THEN SWAP m, n
p = 1
FOR i = m TO n
k = 0
FOR j = 1 TO i
k = k - (i MOD j = 0)
NEXT
IF k = 2 THEN p = p * i
NEXT
PRINT p
INPUT m
INPUT n
IF n < m THEN SWAP m, n
p = 1
FOR i = m TO n
k = 0
FOR j = 1 TO i
k = k - (i MOD j = 0)
NEXT
IF k = 2 THEN p = p * i
NEXT
PRINT p