fun main() { val s = readln() var skip = false for (c in s) { if (c == '(') { skip = true } if (c == ')') { skip = false print("@") continue } if (!skip) { print(c) } } println() }