using System;
public class Program
{
public static void Main()
/* Write a C# Sharp program to create a new string with the last char added at the front and back of a given string of length 1 or more */
Console.WriteLine("Marlen Martinez Cruz");
Console.WriteLine(test("Red"));
Console.WriteLine(test("Green"));
Console.WriteLine(test("1"));
Console.ReadLine();
}
public static string test(string str)
var s = str.Substring(str.Length-1);
return s + str + s;