#include <iostream>
#include <queue>
using namespace std;

int main() {
    queue<int> Q;
    int a = 5;
    Q.push(1);
    Q.push(2);
    Q.push(3);
    Q.push(a);
    cout << Q.empty() << endl;
    
    Q.pop();
    Q.pop();
    Q.pop();
    Q.pop();
    
    cout << Q.empty() << endl;

    return 0;
}
