/*****************************************************************
 print index of minimum element in A
 *****************************************************************/
#include <stdio.h>

int main() {
  // read size n, allocate array of n doubles, read values into array
  int n;
  scanf(" %i", &n);
  double A[n];
  for(int i = 0; i < n; ++i) {
    scanf(" %lg", &A[i]);
  }

  // Find the index of the min element
  int imin = 0;
  for(int i = 1; i < n; ++i) {
    if (A[i] < A[imin]) {
      imin = i;
    }
  }

  printf("minimum element is A[%i] = %g.\n", imin, A[imin]);

  return 0;
}