def main(separator='\t'):
    topWords_list = ['club', 'baseball', 'league', 'team', 'game', 'soccer', 'nike', 'tennis', 'golf', 'rugby']
    words = read_input(sys.stdin)
    for word in words:
        for currIndex in range((len(word) - 1)):
            for nextWord in word[(currIndex + 1):]:
                currWord = word[currIndex]
                if ((currWord != nextWord) and (currWord in topWords_list)):
                    w = ((currWord + '-') + nextWord)
                    print(('%s%s%d' % (w, separator, 1)))
def main(separator='\t'):
    topWords_list = ['club', 'baseball', 'league', 'team', 'game', 'soccer', 'nike', 'tennis', 'golf', 'rugby']
    words = read_input(sys.stdin)
    for word in words:
        for currIndex in range((len(word) - 1)):
            for nextWord in word[(currIndex + 1):]:
                currWord = word[currIndex]
                if ((currWord != nextWord) and (currWord in topWords_list)):
                    w = ((currWord + '-') + nextWord)
                    print(('%s%s%d' % (w, separator, 1)))