1192: 查找同因数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

求出ab之内能同时被xyz整除的数,并输出。

每行一个。

Input

5个正整数:a b x y z 
且 0<a<b<=999999999,(x,y,z)<100000

Output

多行,每行一个整数

Sample Input Copy

10 300 6 8 9

Sample Output Copy

72
144
216
288