Given the task definition, example input & output, solve the new input case.
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Example: twotwoonesixzeronine
Output: 221609
The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.

New input case for you: threethreeninethreefourtwothreefourninethreesixtwo
Output:
339342349362
Given the task definition, example input & output, solve the new input case.
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Example: twotwoonesixzeronine
Output: 221609
The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.

New input case for you: threethreeninethreefourtwothreefourninethreesixtwo
Output:
user
339342349362
assistant
Given the task definition, example input & output, solve the new input case.
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Example: twotwoonesixzeronine
Output: 221609
The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.

New input case for you: threethreeninethreefourtwothreefourninethreesixtwo
Output:
339342349362