#include <iostream>
#include <fstream>
using namespace std;
int main() {
ifstream file("sequences_test.txt");
for (int line = 0; line < 10; line++)
{
int n, min_val = 2000, max_val = 0, num;
file >> n;
for (int i = 0; i < n; i++)
{
file >> num;
if (num > max_val)
{
max_val = num;
}
else if (num < min_val)
{
min_val = num;
}
}
cout << "Minimum: " << min_val;
cout << ", Maksimum: " << max_val << endl;
}
file.close();
return 0;
}