#include <iostream>
#include <vector>
#include <queue>
using namespace std;
typedef long long ll;
int main() {
    queue<int> q;
    
    
    q.push(1);
    q.push(2);
    q.push(3);
    
    cout << q.front() << endl;
    q.pop();
    
    cout << q.front() << endl;
    q.pop();
    
    cout << q.front() << endl;
 
    return 0;
}
 
