package main
import (
"fmt"
"strconv"
)
func main() {
input := 123
output := 0
temp := input
for temp > 0 {
remainder := temp % 10
output *= 10
output += remainder
temp /= 10
}
fmt.Println("Original Number : " + strconv.Itoa(input))
fmt.Println("Reverse Number : " + strconv.Itoa(output))
}