Problem:
Score : 100 points

Problem Statement

Compute A \times B.

Constraints

1 \leq A \leq 100

1 \leq B \leq 100

All values in input are integers.

Input

Input is given from Standard Input in the following format:

A B

Output

Print the value A \times B as an integer.

Sample Input 1

2 5

Sample Output 1

10

We have 2 \times 5 = 10.

Sample Input 2

100 100

Sample Output 2

10000

Solution in C# (.NET Core 3.1.201) (judge verdict: Runtime Error)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AtCoder169
{
    public class ProgramE
    {
        static void Main(string[] args)
        {
            var inputNumStr = Console.ReadLine();
            var inputNum = int.Parse(inputNumStr);

            var aList = new SortedSet<long>();
            var bList = new SortedSet<long>();

            for (var i = 0; i < inputNum; i++)
            {
                var input = Console.ReadLine();
                var vallist = input.Split(" ").Select(long.Parse);

                var ai = vallist.First();
                var bi = vallist.Skip(1).First();

                aList.Add(ai);
                bList.Add(bi);
            }

            if (inputNum % 2 == 1)
            {
                var a = aList.Skip((inputNum - 1) / 2).First();
                var b = bList.Skip((inputNum - 1) / 2).First();

                Console.WriteLine(b - a + 1);
            }
            else
            {
                var a1 = aList.Skip(inputNum / 2 - 1).First();
                var b1 = bList.Skip(inputNum / 2 - 1).First();
                var a2 = aList.Skip(inputNum / 2).First();
                var b2 = bList.Skip(inputNum / 2).First();

                Console.WriteLine((b1 + b2) - (a1 + a2) + 1);
            }

        }
    }
}