from typing import List
from typing import Tuple


def process_data(data: str) -> List[Tuple[int, int, int]]:
    """Parse the raw data.

    Convert raw triangle data:

        1 2 3
        4 5 6

    Into list of tuples, where each item is a triangle with a, b, c sides
    """
    triangles = []
    for triangle in data.strip().split("\n"):
        a, b, c = triangle.split()
        triangles.append((int(a), int(b), int(c)))
    return triangles