import re


def parse_clay(line):
    """Parse clay coordinates."""
    regex = r'(\w)=(\d+), \w=(\d+)..(\d+)'
    axis, *nums = re.findall(regex, line)[0]
    return (axis, [int(num) for num in nums])