// No.809 かけįŽ— package main import "fmt" func main() { var c int fmt.Scan(&c) for i := 2; i <= c; i++ { if c%i == 0 { fmt.Println(i, int(c/i)) break } } }