#include <stdio.h>

int main(void) {
	unsigned topCopy = 2820130816;
	printf("%u\n", topCopy % 10);
	return 0;
}
