#include <iostream>
int a[1001];
int main(){
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++)
scanf("%d",&a[i]);
int p=1;
for(int i=2;i<=n;i++){
if(a[i]<a[p]) p=i;
}
printf("Minimum value: %d\n",a[p]);
printf("Position: %d",p-1);
return 0;
}