<jupyter_start><jupyter_text>Problema The minion game[Enlace al reto](https://www.hackerrank.com/challenges/the-minion-game/problem?h_r=internal-search)Kevin and Stuart want to play the 'The Minion Game'.**Games rules**- Both players are given the same string, S.- Both players have to make substrings using the letters of the string S.- Stuart has to make words starting with consonants.- Kevin has to make words starting with vowels.- The game ends when both players have made all possible substrings.**Scoring**A player gets +1 point for each occurrence of the substring in the string S.**For Example:**String S = BANANAKevin's vowel beginning word = ANAHere, ANA occurs twice in BANANA. Hence, Kevin will get 2 Points.Your task is to determine the winner of the game and their score.**Input Format**A single line of input containing the string S.**Note:** The string S will contain only uppercase letters: [A - Z].**Constraints**0 < len(S) <= 10^6**Output format**Print one line: the name of the winner and their score separated by a space.If the game is a draw, print Draw.**Sample input**```BANANA```**Sample output**```Stuart 12```  Solución<jupyter_code>#

# función principal
if __name__ == "__main__":
  S = ['BANANA']

  for element in S:
    print("Expected: Stuart 12")
    print("Result: " + minion_game(S))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10584752035529238, 'fraction_numerical': 0.007401924500370096, 'mean_word_length': 4.982300884955753, 'pattern_counts': {'":': 1, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '378095', 'license': 'MIT', 'n_tokens_mistral': 407, 'n_tokens_neox': 382, 'n_words': 171, 'path': 'DSFChallenge/01-Enero/20210130_DSFChallenge001.ipynb', 'repo_name': 'andresrivera125/colab-books', 'size': '1351'}