import Foundation

func solution() -> String {
   let line = readLine()!
   return String(line[line.index(line.startIndex, offsetBy: 0) ..< line.index(line.startIndex, offsetBy: 3)])
}

print(solution())
