#include<cstdio>
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++) cin>>a[i];
int min=1001,p;
for(int i=0;i<n;i++)
{
if(a[i]<min)
{
p=i;
min=a[i];
}
}
printf("Minimum value: %d\n",min);
printf("Position: %d\n",p);
}