#include <queue>
#include <stdio.h>
#include <vector>
#include <iostream>
using namespace std;
int bridge_length = 2, weight = 10;
vector<int> truck_weights;
int solution()
{
int answer = 0;
queue<int> bridge;
queue<int> Intime;
int i = -1, bridge_w = 0;
while (1)
{
i ++;
int x = truck_weights[i];
if (bridge_w + x > weight)
{
}
bridge.push(x);
bridge_w += bridge[0];
}
return answer;
}
int main()
{
queue<int> bridge;
truck_weights.push_back(7);
truck_weights.push_back(4);
truck_weights.push_back(5);
truck_weights.push_back(6);
int sol = solution();
printf("%d", sol);
}