VUXCDW3LOJBCHNX5URDI4NVTMVV65QUORSP7B7RZIDE24TKNHMDQC
// Palindrome is a string that is the same forward and backward
package main
import (
"bufio"
"fmt"
"os"
)
func main() {
scanner := bufio.NewScanner(os.Stdin)
for scanner.Scan() {
if len(scanner.Text()) > 3 {
fmt.Println(Palindrome(scanner.Text()))
} else {
fmt.Println("Input string too short")
}
}
if scanner.Err() != nil {
fmt.Fprintln(os.Stderr, "Error reading console input")
}
}
/*
Package palindrome is for finding palindromes
*/
package palindrome