from sys import version

versionStr = ""

for c in version:
    if c == " ":
        break
    else:
        versionStr = versionStr + c

versionTuple = tuple(versionStr.split("."))

print(versionTuple)

# GCC CLEANUP

versionStr = ""
startFlag = False

for c in version:
    if startFlag:
        if c not in ["G", "C", "]"]:
            versionStr = versionStr + c
    elif c == "[":
        startFlag = True

print(versionStr)

versionTuple = tuple(versionStr.split())

print(versionTuple)