You've purchased a ready-meal from the supermarket.
The packaging says that you should microwave it for 4 minutes and 20 seconds, based on a 600W microwave.
Oh no, your microwave is 800W! How long should you cook this for?!
___
# Input
You'll be given 4 arguments:
## 1. needed power
The power of the needed microwave.  
Example: `"600W"`
## 2. minutes
The number of minutes shown on the package.  
Example: `4`
## 3. seconds
The number of seconds shown on the package.  
Example: `20`
## 4. power
The power of your microwave.  
Example: `"800W"`
___
# Output
The amount of time you should cook the meal for formatted as a string.  
Example: `"3 minutes 15 seconds"`
Note: the result should be rounded up.
```
59.2 sec  -->  60 sec  -->  return "1 minute 0 seconds"
```
___
## All comments/feedback/translations appreciated.
import math
def cooking_time(needed_power, minutes, seconds, power):
    in_seconds = 60 * minutes + seconds
    increase = int(needed_power[:-1]) / int(power[:-1])
    new_seconds = in_seconds * increase
    output_minutes = int(new_seconds/60)
    output_seconds = new_seconds % 60
    if math.ceil(output_seconds) == 60:
        output_seconds = 0
        output_minutes += 1
    return str(math.ceil(output_minutes)) + ' minutes ' + str(math.ceil(output_seconds)) + ' seconds'
import math
def cooking_time(needed_power, minutes, seconds, power):
    in_seconds = 60 * minutes + seconds
    increase = int(needed_power[:-1]) / int(power[:-1])
    new_seconds = in_seconds * increase
    output_minutes = int(new_seconds/60)
    output_seconds = new_seconds % 60
    if math.ceil(output_seconds) == 60:
        output_seconds = 0
        output_minutes += 1
    return str(math.ceil(output_minutes)) + ' minutes ' + str(math.ceil(output_seconds)) + ' seconds'