Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EIPAINT - Tính thùng sơn

Lấy số liệu từ dự án cũ, An biết rằng cần chính xác A thùng sơn để sơn vừa đủ diện tích X x Y tường. An cần tính toán số thùng sơn cần mua tối thiểu để sơn hết diện tích U x V trong dự án mới.

Ví dụ:

Input

Output

7 2 3 6 15

105


© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.