NewThe Learning module is now liveSee what's new

An edge computing environment needs at least x edge devices and at least y input peripherals. You may buy any non-negative number of individual edge devices, individual input peripherals, and bundles.

An individual edge device costs edgeCost, an individual input peripheral costs inputCost, and each bundle costs bundleCost and contains one edge device and one input peripheral. Extra devices and peripherals are allowed.

Test Cases
Input
Output
Expected