#include <stdio.h>
#include <stdlib.h>

#define MAX_LENGTH 1000

long calc_second_smallest(long[], int);

int main()
{
	int length;
	int i = 0;
	long zahlen[MAX_LENGTH];
	scanf("%i", &length);
	while (i < length) {
		scanf("%li", &zahlen[i++]);
	}
	printf("Das zweitkleinste Element: %li\n", calc_second_smallest(zahlen, length));
	return 0;
}
