function Main(input) {
  const number = input.split("");
  const middleNumber = input.substract(1, number.length-2);
  console.log("number[1]" + middleNumber.length + "number[number.length-1]");
}

Main(require("fs").readFileSync("/dev/stdin","utf8"));
