let A = Int(readLine()!)! let B = Int(readLine()!)! let C = Int(readLine()!)! let result = String(A * B * C) var numbers = Array(repeating: 0, count: 10) result.forEach { numbers[Int(String($0))!] += 1 } numbers.forEach { print($0) }