LED Series Resistor
An LED with forward voltage needs a series resistor to limit its current. Print the exact (1 decimal) and the smallest E12 standard value that is at least (so the current is never above the limit).
E12 values are times .
Input
(volts), (volts) and (milliamps).
Output
Exact resistance and the chosen E12 value (printed without trailing zeros, e.g. 330 or 1500).
Constraints
, mA
Sample 1
Input
5 2 10
Output
300.0 330
Sample 2
Input
12 3.2 20
Output
440.0 470