1 #include<stdio.h> 2 #include<string.h> 3 #define MAXN 105 4 using namespace std; 5 int main() 6 { 7 int r, y, g; 8 int n; 9 int k, t; 10 int ans = 0; 11 scanf("%d%d%d", &r, &y, &g); 12 scanf("%d", &n); 13 for (int...