using System;
public class Program
{
public static void Main()
// write a program to check if word is a palindrome or not
string input = "level";
bool isPalindrome = true;
for(int i = 0 ; i < input.Length / 2; i++)
if(input[i] != input[input.Length - i - 1])
isPalindrome = false;
break;
}
Console.WriteLine($"Is palindrome?: {isPalindrome}");