
#!/usr/bin/env python
# coding: utf-8


def main():
    while 1:
        try:
            input_data = raw_input()
        except EOFError:
            break
        print sum(map(int, input_data.split(" "))).__str__().__len__()

if __name__ == '__main__':
    main() def main():
    while 1:
        try:
            input_data = raw_input()
        except EOFError:
            break
        print sum(map(int, input_data.split(" "))).__str__().__len__() main while 1:
        try:
            input_data = raw_input()
        except EOFError:
            break
        print sum(map(int, input_data.split(" "))).__str__().__len__() 1 try:
            input_data = raw_input()
        except EOFError:
            break
         except EOFError:
            break
         break input_data = raw_input() input_data raw_input() raw_input print sum(map(int, input_data.split(" "))).__str__().__len__() (map(int, input_data.split(" "))).__str__().__len__ (map(int, input_data.split(" "))).__str__() (map(int, input_data.split(" "))).__str__ (map(int, input_data.split(" "))) sum map(int, input_data.split(" ")) map int input_data.split(" ") input_data.split input_data split " " __str__ __len__ if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    while 1:
        try:
            input_data = raw_input()
        except EOFError:
            break
        print sum(map(int, input_data.split(" "))).__str__().__len__() def main():
    while 1:
        try:
            input_data = raw_input()
        except EOFError:
            break
        print sum(map(int, input_data.split(" "))).__str__().__len__() main

#!/usr/bin/env python
# coding: utf-8


def main():
    while 1:
        try:
            input_data = raw_input()
        except EOFError:
            break
        print sum(map(int, input_data.split(" "))).__str__().__len__()

if __name__ == '__main__':
    main()