// Generated by CoffeeScript 1.6.2
(function() {
  var each, log;

  log = function(a) {
    return typeof console !== "undefined" && console !== null ? typeof console.log === "function" ? console.log(a) : void 0 : void 0;
  };

  each = function(obj, iterator, context) {
    var i, key, nativeForEach, _i, _ref;

    nativeForEach = Array.prototype.forEach;
    if (obj === null) {
      return;
    }
    if (nativeForEach && obj.forEach === nativeForEach) {
      return obj.forEach(iterator, context);
    } else if (obj.length === +obj.length) {
      for (i = _i = 0, _ref = obj.length; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
        if (iterator.call(context, obj[i], i, obj === breaker)) {
          return;
        }
      }
    } else {
      for (key in obj) {
        if (_.has(obj, key)) {
          if (iterator.call(context, obj[key], key, obj === breaker)) {
            return;
          }
        }
      }
    }
  };

  (function(input) {
    var i, res, _i, _results;

    res = [];
    each(input, function(i) {
      return res.push(i);
    });
    res.sort(function(a, b) {
      return a < b;
    });
    _results = [];
    for (i = _i = 0; _i <= 2; i = ++_i) {
      _results.push(log(res[i]));
    }
    return _results;
  })(require('fs').readFileSync('/dev/stdin', 'utf8').split('\n'));

}).call(this);