/******/ (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, __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 _Rectangle = __webpack_require__(1);

var _Rectangle2 = _interopRequireDefault(_Rectangle);

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() {
            var _Parser$toNumberArray = _StdIO.Parser.toNumberArray(_StdIO2.default.input()),
                _Parser$toNumberArray2 = _slicedToArray(_Parser$toNumberArray, 2),
                tate = _Parser$toNumberArray2[0],
                yoko = _Parser$toNumberArray2[1];

            var rect = new _Rectangle2.default(tate, yoko);
            _StdIO2.default.printLine(rect.area() + ' ' + rect.areaLength());
        }
    }]);

    return Main;
}();

exports.default = Main;

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

"use strict";


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

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; }; }();

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

/**
 * ????????¢?????±????????????
 */
var _class = function () {

    /**
     * ?????????????????????
     * @param {int} tate ?????? 
     * @param {int} yoko ??????
     */
    function _class(tate, yoko) {
        _classCallCheck(this, _class);

        this.tate = tate;
        this.yoko = yoko;
    }

    _createClass(_class, [{
        key: "areaLength",
        value: function areaLength() {
            return this.tate * 2 + this.yoko * 2;
        }
    }, {
        key: "area",
        value: function area() {
            return this.tate * this.yoko;
        }
    }]);

    return _class;
}();

exports.default = _class;

/***/ }),
/* 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__(4);

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 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;
        }

        /**
         * ?¨??????????
         * ??????????????? 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("os");

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

"use strict";


var _Main = __webpack_require__(0);

var _Main2 = _interopRequireDefault(_Main);

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

_Main2.default.main();

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

Measured memory_bytes: 15508