# One does not simply...

**Computer Science**Level 3

The number 111111 is formed by repeating the number one 6 times (duh). A code was fed this as its input. (nom nom). The code runs as follows:

IF the number is divisible by 11, it divides the number by 11.

ELSE IF the number consists of only 1s and 0s, the number is converted from this "binary" like form to its decimal form.

ELSE add the number '1' at the end of the number.

The code continues running for 100 loops throughout all 3 possibilities or until the number reaches 1.

For example, the number 10 when fed to the code becomes 2. That's the first time it loops.

Then, since the number 2 is not divisible by 11 and does not consist of only 1s and 0s, we add a 1 behind, making it 21. This process continues for 98 more times.

Find the number of digits of the result when the code is fed 111111.

(Example if the result is 12345, your answer is 5)