//
//  main.swift
//  AtCoder
//
//  Created by s on 2018/05/06.
//  Copyright © 2018年 s. All rights reserved.
//  created by Xcode 7.3.1

#if os(Linux)
    import Glibc
#else
    import Darwin
#endif


extension String: CollectionType {}


//var N: Int = Int(readLine()!)!
var a: [Int] = readLine()!.split(" ").map { Int($0)! }

//a.sortInPlace(>)

//for i in 0 ..< N {
    print(a[0])
//}