#!/usr/bin/python3

from sys import stdin


def estimateConf(conf):
    """Estimate configuration from a string."""
    confElements = [int(x) for x in conf.split(sep=" ")]
    disk = confElements[0]
    print(disk)
    procRates = confElements[1:]
    print(procRates)

def estimateConfsFromInput():
    """Parse and estimate configurations from stdin."""
    for line in stdin:
        confs = line.splitlines()
        for conf in confs:
            estimateConf(conf)

if __name__ == "__main__":
    estimateConfsFromInput()

#!/usr/bin/python3

from sys import stdin

def calcExhaustion(disk, procRates):
    """Calculate how many seconds before the disk is filled.
       
       procRates lists the rates at which each process fills 1 byte of disk
       space."""
    print(disk)
    print(procRates)

def estimateConf(conf):
    """Estimate configuration from a string."""
    confElements = [int(x) for x in conf.split(sep=" ")]
    disk = confElements[0]
    procRates = confElements[1:]
    eta = calcExhaustion(disk, procRates);

def estimateConfsFromInput():
    """Parse and estimate configurations from stdin."""
    for line in stdin:
        confs = line.splitlines()
        for conf in confs:
            estimateConf(conf)

if __name__ == "__main__":
    estimateConfsFromInput()

Create fn for calculating exhaustion
Create fn for calculating exhaustion
