import re


def parse_disk(line):
    """Parse line to dictionary representing disk."""
    position, *rest = line.split()
    position = tuple([int(num) for num in re.findall(r'(\d+)', position)])
    size, used, available, use_percent = [int(value[:-1]) for value in rest]
    return {
        'position': position,
        'size': size,
        'used': used,
        'available': available,
        'use_percent': use_percent,
    }