#include <iostream>
using namespace std;

struct element {
    int dana;
    element* nast;
};

struct kolejka {
    element* poczatek;
    element* koniec;
};

void Add(kolejka &kol, int x) {

}

bool Next(kolejka &kol, int &co) {

}

int firstEl(kolejka kol) {

}

bool isEmpty(kolejka kol) {

}

int main() {
    kolejka k;
    k.poczatek = k.koniec = nullptr;

    Add(k, 10);
    Add(k, 20);
    Add(k, 30);

    int x = firstEl(k);
    while (Next(k, x)) {
        cout << "Pobrano: " << x << endl;
    }

    if (isEmpty(k)) {
        cout << "Kolejka jest pusta" << endl;
    }

    return 0;
}
