#!/usr/bin/env ruby # -*- coding: utf-8 -*- print("123456789\n") nenrei = gets.to_i printf("%d 歳です。\n",nenrei)