#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int x[1000];
int Min=777777;
int y;
for(int i=0;i<n;i++)
{
cin>>x[i];
if(Min>x[i])
{
Min=x[i];
y=i;
}
}
cout<<"Minimum value: "<<Min<<endl;
cout<<"Position: "<<y<<endl;
return 0;
}