#include <stdio.h>
#include <string.h>

int testPalindrome(const char str[], int start, int end) {
    if (start >= end) {
        return 1;
    }
    if (str[start] != str[end]) {
        return 0;
    }
    return testPalindrome(str, start + 1, end - 1);
}

int main(void) {
    char text[] = "radar";
    int len = strlen(text);
    
    if (testPalindrome(text, 0, len - 1)) {
        printf("It is a palindrome\n");
    } else {
        printf("It is not a palindrome\n");
    }
    
    return 0;
}