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

#define MAX_LENGTH 1000

unsigned A(unsigned[], unsigned);

int main()
{
	unsigned length;
	unsigned i = 0;
	unsigned zahlen[MAX_LENGTH];
	scanf("%u", &length);
	while (i < length) {
		scanf("%u", &zahlen[i++]);
	}
	printf("Das Ergebnis von Algorithmus A: %u\n", A(zahlen, length));
	return 0;
}
