let input = readLine()!.split(separator: " ").map { Int($0)! }
print("\(input[0] + input[1])")
let input = readLine()!.split{ $0 == " "}.map { Int($0)! }
print(input[0] - input[1])
print(readLine()!.split{ $0 == " " }.map { Int($0)! }.reduce(1, *))
let input = readLine()!.split{ $0 == " " }.map { Double($0)! }
print(input[0] / input[1])
let input = readLine()!.split{ $0 == " " }.map { Int($0)! }
let (a, b) = (input[0], input[1])
print(a + b)
print(a - b)
print(a * b)
print(a / b)
print(a % b)
print(readLine()! + "??!")
18108 1998년생인 내가 태국에서는 2541년생?!
print(Int(readLine()!)! - 543)
let input = readLine()!.split { $0 == " " }.map { Int($0)! }, (a, b, c) = (input[0], input[1], input[2])
[(a+b)%c, (a+b)%c, (a*b)%c, (a*b)%c].forEach { print($0) }// Some code
let num1 = Int(readLine()!)!
let num2 = Int(readLine()!)!
let num2Arr = String(num2).map { Int(String($0))! }.reversed()
var result = num2Arr.map { $0 * num1 }
result.append (num1 * num2)
result.forEach { print($0) }
print(readLine()!.split { $0 == " " }.map { Int($0)! }.reduce(0, +))
print(#"""
\ /\
) ( ')
( / )
\(__)|
"""#)
print(#"""
|\_/|
|q p| /}
( 0 )"""\
|"^"` |
||_/=\\__|
"""#)