/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;
/******/
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// identity function for calling harmony imports with the correct context
/******/ 	__webpack_require__.i = function(value) { return value; };
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 5);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {

module.exports = require("os");

/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});

var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _StdIO = __webpack_require__(2);

var _StdIO2 = _interopRequireDefault(_StdIO);

var _os = __webpack_require__(0);

var _os2 = _interopRequireDefault(_os);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var Main = function () {
    function Main() {
        _classCallCheck(this, Main);
    }

    _createClass(Main, null, [{
        key: 'main',
        value: function main() {
            _StdIO2.default.readLine(function (input) {
                var nums = input.split(_os2.default.EOL);
                nums.forEach(function (row) {
                    var _Parser$toNumberArray = _StdIO.Parser.toNumberArray(row),
                        _Parser$toNumberArray2 = _slicedToArray(_Parser$toNumberArray, 2),
                        a = _Parser$toNumberArray2[0],
                        b = _Parser$toNumberArray2[1];

                    _StdIO2.default.printLine((a + b).toString().length);
                });
            });
        }
    }]);

    return Main;
}();

exports.default = Main;

/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.Parser = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _fs = __webpack_require__(3);

var _fs2 = _interopRequireDefault(_fs);

var _os = __webpack_require__(0);

var _os2 = _interopRequireDefault(_os);

var _readline = __webpack_require__(4);

var _readline2 = _interopRequireDefault(_readline);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var StdIO = function () {
    function StdIO() {
        _classCallCheck(this, StdIO);
    }

    _createClass(StdIO, null, [{
        key: 'input',


        /**
         * ?¨??????\???
         * 
         * @returns string ??\????????????
         */
        value: function input() {
            var buffer = new Buffer(this.BUFFER_SIZE);
            var n = _fs2.default.readSync(process.stdin.fd, buffer, 0, this.BUFFER_SIZE);
            var input = buffer.slice(0, n).toString();
            return input === _os2.default.EOL ? "" : input;
        }
    }, {
        key: 'readLine',
        value: function readLine(callback) {
            var input = '';
            var reader = _readline2.default.createInterface({
                input: process.stdin,
                output: process.stdout
            });
            reader.on('line', function (line) {
                input += input === '' ? line : _os2.default.EOL + line;
            });
            reader.on('close', function () {
                callback(input);
            });
        }

        /**
         * ?¨??????????
         * ??????????????? printLine ????????£???????????????
         * 
         * @param string str ?????????????????????
         */

    }, {
        key: 'print',
        value: function print() {
            var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";

            process.stdout.write(str);
        }

        /**
         * ?¨????????????????????????????
         * 
         * @param string str ????????????????????? 
         */

    }, {
        key: 'printLine',
        value: function printLine() {
            var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";

            process.stdout.write(str + _os2.default.EOL);
        }
    }, {
        key: 'BUFFER_SIZE',
        get: function get() {
            return 4096;
        }
    }]);

    return StdIO;
}();

exports.default = StdIO;

var Parser = exports.Parser = function () {
    function Parser() {
        _classCallCheck(this, Parser);
    }

    _createClass(Parser, null, [{
        key: 'toNumberArray',


        /**
         * ???????????? int ??????????????????
         * 
         * @param {string} input ?????????????????????
         * @param {string} [separator=' '] ???????????????
         * @return {array} ??????????????????
         */
        value: function toNumberArray(input) {
            var separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';

            var strArray = input.split(separator);
            return strArray.map(function (value) {
                return parseInt(value);
            });
        }
    }]);

    return Parser;
}();

/***/ }),
/* 3 */
/***/ (function(module, exports) {

module.exports = require("fs");

/***/ }),
/* 4 */
/***/ (function(module, exports) {

module.exports = require("readline");

/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var _Main = __webpack_require__(1);

var _Main2 = _interopRequireDefault(_Main);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

_Main2.default.main();

/***/ })
/******/ ]);

Measured memory_bytes: 17196