Problem:
Score : 100 points

Problem Statement

In order to pass the entrance examination tomorrow, Taro has to study for T more hours.

Fortunately, he can leap to World B where time passes X times as fast as it does in our world (World A).

While (X \times t) hours pass in World B, t hours pass in World A.

How many hours will pass in World A while Taro studies for T hours in World B?

Constraints

All values in input are integers.

1 \leq T \leq 100

1 \leq X \leq 100

Input

Input is given from Standard Input in the following format:

T X

Output

Print the number of hours that will pass in World A.

The output will be regarded as correct when its absolute or relative error from the judge's output is at most 10^{-3}.

Sample Input 1

8 3

Sample Output 1

2.6666666667

While Taro studies for eight hours in World B where time passes three times as fast, 2.6666... hours will pass in World A.

Note that an absolute or relative error of at most 10^{-3} is allowed.

Sample Input 2

99 1

Sample Output 2

99.0000000000

Sample Input 3

1 100

Sample Output 3

0.0100000000

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

using System;

namespace ConsoleApp21
{
    class Program
    {
        static void Main(string[] args)
        {
            //nm入力
            string line = Console.ReadLine();
            string[] array = line.Split(' ');

            int n = int.Parse(array[0]);
            int m = int.Parse(array[1]);

            //a入力

            string li = Console.ReadLine();
            string[] ar = li.Split(' ');

            int[] arr = new int[n];
            for (int index = 0; index < n; index++)
            {
                int num = int.Parse(ar[index]);
                arr[index] = num;
            }


                //総投票数とダメな投票数
                int sum = 0;
            for (int i = 0; i < n; i++)
            {
                sum += arr[i];
            }
            int mm = 4 * m;
            int bud = sum /mm ;

            int count = 0;

            for (int i = 0; i < n; i++)
            {
                if (bud < arr[i])
                {
                    count++;
                }
            }

            if (m < count)
            {
                Console.WriteLine("Yes");
            }
            else
            {
                Console.WriteLine("No");
            }

        }
    }
}