using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Write a C# program to implement the below compress the given string using Run Length Algorithm
namespace RunLengthEncoder
{
public class Program
public static void Main(string[] args)
//Declare the variables
String S= " Hello World ";
Console.WriteLine("""+S.Trim()+""");
}