(ns Main
  (:gen-class)
  (:require [clojure.string :refer [split]]))

(defn a [nums]
  (->> nums
       (sort <)
       (take 2)
       (apply +)
       println))


(defn -main [& more]
  (->> more;(split line #" ")
       (mapv #(Integer/parseInt %))
       a))