let input = readLine()
type(of : input) : Optional(String)let output = input!
type(of: output) : Stringlet intVar = Int(output)
type(of: intVar) : Optional(Int)let result = intVal!
type(of: result) : Intlet n = Int(readLine()!)!
let s = readLine()!
import Foundation
우선 readLine()! 으로 입력받는다.
이후 let result = input.components(separatedBy: " ")
let input = readLine()!.split(separator: " ").map {Int(String($0))! }
let input = Array(readLine()!)
let input = Array(readLine()!)
let result = input.map { Int(String($0))! }