mosq.java
import java.io.BufferedReader;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.StringTokenizer;
/**
*
* @author cteam022
*/
public class mosq {
/**
* @param args the command line arguments
*/
mosq g = new mosq();
while(true){g.uloha();}
}
if(!input.
ready()){System.
exit(0);} int M
= Integer.
valueOf(st.
nextToken()); int P
= Integer.
valueOf(st.
nextToken()); int L
= Integer.
valueOf(st.
nextToken()); int E
= Integer.
valueOf(st.
nextToken()); int R
= Integer.
valueOf(st.
nextToken()); int S
= Integer.
valueOf(st.
nextToken()); int N
= Integer.
valueOf(st.
nextToken());
int C[] = new int[N+1];
C[0] = M;
C[1] = P/S;
C[2] = L/(R*S);
for(int i = 3; i <= N; i++) {
C[i] = (E*C[i-3])/(R*S);
}
}
}