CPU: 0.5s
Memory: 1024MB
একটি শ্রেণিতে Nটি ছাত্র আছে। কিছুদিন আগেই তারা একটি পরীক্ষা দিয়েছিল এবং আজকে তাদের পরীক্ষার খাতা দেখান হচ্ছে। এখন শিক্ষক তাদের সবার মার্কের গড় জানতে চান। তোমাকে N এবং Nটি ছাত্রের পরীক্ষার মার্ক দেওয়া হয়েছে। তোমাকে তাদের গড় মার্ক গণনা করতে হবে।
In a class, there are N students. Recently they gave an exam and today teacher is giving away their exam copies. The teacher wants to find the average score of the class. So, given N and N marks which each of the students obtained, find the average score of the class.
ইনপুটের বর্ণনা
প্রথম লাইনে একটি ধনাত্মক সংখ্যা T দেওয়া আছে, যেটি হল কতগুলো কেস আছে তার মান। তার পরে Tটি লাইন আছে, যার প্রথমে আছে একটি সংখ্যা, N ( ১ <= N <= ১০০ ), ছাত্রদের সংখ্যার মান। N-এর পরে আছে Nটি সংখ্যা যেগুলো হল ছাত্রদের মার্ক। ছাত্ররা ০ থেকে ১০০ এর ভিতরেই মার্ক পেয়েছে।
Input Specification
The first line contains a positive integer T ( T <= 100 ), number of test case. In the following T lines, the first integer will be N ( 1 <= N <= 100 ), the number of students. After that N integers will follow which are the marks of students. A student will obtain mark between 0 and 100 inclusive.
আউটপুটের বর্ণনা
প্রতিটি কেসের জন্যে প্রথমে কেস এর মান প্রিন্ট দিতে হবে, তারপর একটি পূর্ণসংখ্যা যেটি হল শ্রেণীকক্ষের গড়।
Output Specification
For each case print the case number, then a single integer which is the average score of the class.
Sample
Input | Output |
---|---|
3 5 1 2 3 4 5 3 100 0 20 4 0 0 100 100 | Case 1: 3 Case 2: 40 Case 3: 50 |
বিঃদ্রঃ গড় এর মান সব কেসের জন্যে পূর্ণসংখ্যা হবে নিশ্চিত করা হয়েছে।
NOTE: It is guaranteed that the average score will be integer.