Please help me with the task: "Only letters output"

Hello, I’m working on this task:

Write a program that reads an integer count, for the number of characters to read, from the console. Then, from a new line, the program should read count characters written in one line from the console. Finally, the program should output only the letters from the characters to the console on one line. For example:
>10
>FL45H0b12c
FLHbc

Here is my code:


namespace CharType
{
   class OnlyLetters
   {
       static void Main(string[] args)
       {
           int count = int.Parse(Console.ReadLine());
           string sum = "";
           for (int i = 0; i < count; i++)
           {
               char c = char.Parse(Console.ReadLine());
               Console.Write(c);
               if (char.IsLetter(c))
               {
                   sum = sum + c;
               }
                   
               
           }
           Console.Write(sum);

       }
   }
}

Can anyone please help me to solve it?
Can not find how to read characters from the same line.
My program outputs:
10
a
az
zx
xc
cg
g5
56
6F
Fx
xa
aazxcgFxa

Hi WorkerOfSecrets!

To make your code work, I suggest moving

Console.Write(c);

inside your if statement. In such case you wouldn’t need the sum variable at all. Just output the character c if it is a letter.

using System;
namespace CharType
{
    class OnlyLetters
    {
        static void Main(string[] args)
        {
            int count = int.Parse(Console.ReadLine());
            
            for (int i = 0; i < count; i++)
            {
                char c = char.Parse(Console.ReadLine());
                
                if (char.IsLetter(c))
                {
                    
                    Console.Write(c);
                }


            }
            

        }
    }
}

Did as you said. Moved Console.Write(c); inside if, and removed sum
10
a
az
zx
x4
2
5
6
D
DS
SQ
Q

Still not working, can’t make all my characters input in one line

Ok, I see one more issue. When you are reading a single char from the console, you use:

char c = char.Parse(Console.ReadLine());

This line will read the whole line from the console, and then try to convert it to char. Instead, you should read only one character with Console.Read:

char c = Convert.ToChar(Console.Read());