1
6 public class Alisotk2 {
7
8
13 private static int i(StringBuffer s) {
14 return Integer.parseInt(s.toString());
15 }
16
17
22 private static void set(StringBuffer s,int i) {
23 s.delete(0, s.length()).append(""+i);
24 }
25
26 private static StringBuffer b; private static int c;
27
28 private static void s_1(StringBuffer a, int b)
29 {
30 int d;
31 d = i(a);
32 c = b + 3;
33 b = d - 1;
34 set(a,c - 5);
35 }
36
37 private static void a_2(int a, StringBuffer b)
38 {
39 c = a + i(b);
40 { int c; c = i(b);
41 a = 8 * c; }
42 set(b,175);
43 }
44
45 public static void main(String[] args) {
46 StringBuffer a = new StringBuffer("4"); int d=9;
47 System.out.println("" + a + " " + b + " " + c + " " + d);
48 b=new StringBuffer("3"); c=2; d=1;
49 s_1(b,c);
50 a_2(d,a);
51 s_1(a,3+d);
52 System.out.println("" + a + " " + b + " " + c + " " + d);
53 }
54 }
55