struct vlak{
	char vrsta[15], model[15], sifra[4], boja[15];
	int datum;
	float cijena;
};

struct roba {
	vlak elementi[10000];
	int top;};
typedef int element;
typedef roba stog;


void InitS(stog* st) {
	st->top = 9999;}


vlak TopS(stog* st) {
	return st->elementi[st->top+1];}


void PushS(vlak v, stog* st) {
	if(st->top>0) {
		st->elementi[st->top] = v;
		st->top--;}}


void PopS(stog* st) {
	if(st->top<9999) {
		st->top++;}}


bool IsEmptyS(stog* st){
	if(st->top==9999) return 0;
	else return 1;}