local function divmod(a, b) return { a // b, a % b } end io.write("Input the first integer : ") local a = tonumber(io.read()) io.write("Input the second integer: ") local b = tonumber(io.read()) print($"sum: {a + b}") print($"difference {a - b}") print($"product {a * b}") print($"quotient {a // b}") print($"remainder {a % b}") print($"exponentiation {a ** b}") print($"divmod {divmod(a, b):concat(", ")}")