#include <iostream>
#include <cmath>
using namespace std;
int main(){
int n ;
cin >> n;
int x[1001];
int min_value = 1e9;
int min_index = 1e9;
for(int i = 0 ; i < n ; i++){
cin >> x[i];
if(x[i] < min_value){
min_value = x[i];
min_index = i;
}
}
cout << "Minimum value: " << min_value << endl;
cout << "Position: " << min_index << endl;
return 0;
}