# include <iostream>
using namespace std;
int main()
{
int N,t,num;
cin >> N;
int a[N];
for (int i = 0;i < N;i++) cin >> a[i];
t = a[0];
num = 0;
for (int i = 0;i < N;i++)
{
if (t > a[i])
{
t = a[i];
num = i;
}
}
printf("Minimum value: %d \nPosition: %d",t,num);
}