var totalSagyo = Int(readLine()!)! let days = Int(readLine()!)! for i in (1...days).reversed() { let sagyo = totalSagyo / (i * i) if(i==1) { print(sagyo) } totalSagyo -= sagyo }