def __common_triplet(input_string, consonants, vowels):
    """__common_triplet(input_string, consonants, vowels) -> string"""
    output = consonants
    while len(output) < 3:
        try:
            output += vowels.pop(0)
        except IndexError:
            output += 'X'
    return output[:3]
