def findClassroomID(input):
    """Find Classroom ID in a given GAM string and return the int gCourseID"""
    tempstring = str(input).replace("\\", " ")
    tempstring = tempstring.split()
    parsedID = 0
    for part in tempstring:
        try:
            parsedID = int(part)
            break
        except:
            pass
        if parsedID > 1000000000:
            print(f'Received Google Classroom ID: {parsedID}')
            break
    return parsedID