public class Reverse600HardWay
2: import java.util.Scanner;
4: /**
5: * Read and reverse 600 numbers the REALLY HARD WAY!
6: *
7: * @author a program written by Mark Young (A00000000)
8: */
9: public class Reverse600HardWay {
10: public static void main(String[] args) {
11: // Explain your purpose
12: System.out.print("\n\n"
13: + "This program reads 600 numbers from the user "
14: + "and then prints them in\nreverse order.\n\n");
16: // Declare the Scanner
17: Scanner kbd = new Scanner(System.in);
19: // Declare the 600 integer variables
20: int n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14,
21: n15, n16, n17, n18, n19, n20, n21, n22, n23, n24, n25, n26, n27,
22: n28, n29, n30, n31, n32, n33, n34, n35, n36, n37, n38, n39, n40,
23: n41, n42, n43, n44, n45, n46, n47, n48, n49, n50, n51, n52, n53,
24: n54, n55, n56, n57, n58, n59, n60, n61, n62, n63, n64, n65, n66,
25: n67, n68, n69, n70, n71, n72, n73, n74, n75, n76, n77, n78, n79,
26: n80, n81, n82, n83, n84, n85, n86, n87, n88, n89, n90, n91, n92,
27: n93, n94, n95, n96, n97, n98, n99, n100, n101, n102, n103, n104,
28: n105, n106, n107, n108, n109, n110, n111, n112, n113, n114, n115,
29: n116, n117, n118, n119, n120, n121, n122, n123, n124, n125, n126,
30: n127, n128, n129, n130, n131, n132, n133, n134, n135, n136, n137,
31: n138, n139, n140, n141, n142, n143, n144, n145, n146, n147, n148,
32: n149, n150, n151, n152, n153, n154, n155, n156, n157, n158, n159,
33: n160, n161, n162, n163, n164, n165, n166, n167, n168, n169, n170,
34: n171, n172, n173, n174, n175, n176, n177, n178, n179, n180, n181,
35: n182, n183, n184, n185, n186, n187, n188, n189, n190, n191, n192,
36: n193, n194, n195, n196, n197, n198, n199, n200, n201, n202, n203,
37: n204, n205, n206, n207, n208, n209, n210, n211, n212, n213, n214,
38: n215, n216, n217, n218, n219, n220, n221, n222, n223, n224, n225,
39: n226, n227, n228, n229, n230, n231, n232, n233, n234, n235, n236,
40: n237, n238, n239, n240, n241, n242, n243, n244, n245, n246, n247,
41: n248, n249, n250, n251, n252, n253, n254, n255, n256, n257, n258,
42: n259, n260, n261, n262, n263, n264, n265, n266, n267, n268, n269,
43: n270, n271, n272, n273, n274, n275, n276, n277, n278, n279, n280,
44: n281, n282, n283, n284, n285, n286, n287, n288, n289, n290, n291,
45: n292, n293, n294, n295, n296, n297, n298, n299, n300, n301, n302,
46: n303, n304, n305, n306, n307, n308, n309, n310, n311, n312, n313,
47: n314, n315, n316, n317, n318, n319, n320, n321, n322, n323, n324,
48: n325, n326, n327, n328, n329, n330, n331, n332, n333, n334, n335,
49: n336, n337, n338, n339, n340, n341, n342, n343, n344, n345, n346,
50: n347, n348, n349, n350, n351, n352, n353, n354, n355, n356, n357,
51: n358, n359, n360, n361, n362, n363, n364, n365, n366, n367, n368,
52: n369, n370, n371, n372, n373, n374, n375, n376, n377, n378, n379,
53: n380, n381, n382, n383, n384, n385, n386, n387, n388, n389, n390,
54: n391, n392, n393, n394, n395, n396, n397, n398, n399, n400, n401,
55: n402, n403, n404, n405, n406, n407, n408, n409, n410, n411, n412,
56: n413, n414, n415, n416, n417, n418, n419, n420, n421, n422, n423,
57: n424, n425, n426, n427, n428, n429, n430, n431, n432, n433, n434,
58: n435, n436, n437, n438, n439, n440, n441, n442, n443, n444, n445,
59: n446, n447, n448, n449, n450, n451, n452, n453, n454, n455, n456,
60: n457, n458, n459, n460, n461, n462, n463, n464, n465, n466, n467,
61: n468, n469, n470, n471, n472, n473, n474, n475, n476, n477, n478,
62: n479, n480, n481, n482, n483, n484, n485, n486, n487, n488, n489,
63: n490, n491, n492, n493, n494, n495, n496, n497, n498, n499, n500,
64: n501, n502, n503, n504, n505, n506, n507, n508, n509, n510, n511,
65: n512, n513, n514, n515, n516, n517, n518, n519, n520, n521, n522,
66: n523, n524, n525, n526, n527, n528, n529, n530, n531, n532, n533,
67: n534, n535, n536, n537, n538, n539, n540, n541, n542, n543, n544,
68: n545, n546, n547, n548, n549, n550, n551, n552, n553, n554, n555,
69: n556, n557, n558, n559, n560, n561, n562, n563, n564, n565, n566,
70: n567, n568, n569, n570, n571, n572, n573, n574, n575, n576, n577,
71: n578, n579, n580, n581, n582, n583, n584, n585, n586, n587, n588,
72: n589, n590, n591, n592, n593, n594, n595, n596, n597, n598, n599;
74: // Prompt for and read in the 600 numbers
75: System.out.println("Enter 600 numbers below:");
76: n0 = kbd.nextInt();
77: n1 = kbd.nextInt();
78: n2 = kbd.nextInt();
79: n3 = kbd.nextInt();
80: n4 = kbd.nextInt();
81: n5 = kbd.nextInt();
82: n6 = kbd.nextInt();
83: n7 = kbd.nextInt();
84: n8 = kbd.nextInt();
85: n9 = kbd.nextInt();
86: n10 = kbd.nextInt();
87: n11 = kbd.nextInt();
88: n12 = kbd.nextInt();
89: n13 = kbd.nextInt();
90: n14 = kbd.nextInt();
91: n15 = kbd.nextInt();
92: n16 = kbd.nextInt();
93: n17 = kbd.nextInt();
94: n18 = kbd.nextInt();
95: n19 = kbd.nextInt();
96: n20 = kbd.nextInt();
97: n21 = kbd.nextInt();
98: n22 = kbd.nextInt();
99: n23 = kbd.nextInt();
100: n24 = kbd.nextInt();
101: n25 = kbd.nextInt();
102: n26 = kbd.nextInt();
103: n27 = kbd.nextInt();
104: n28 = kbd.nextInt();
105: n29 = kbd.nextInt();
106: n30 = kbd.nextInt();
107: n31 = kbd.nextInt();
108: n32 = kbd.nextInt();
109: n33 = kbd.nextInt();
110: n34 = kbd.nextInt();
111: n35 = kbd.nextInt();
112: n36 = kbd.nextInt();
113: n37 = kbd.nextInt();
114: n38 = kbd.nextInt();
115: n39 = kbd.nextInt();
116: n40 = kbd.nextInt();
117: n41 = kbd.nextInt();
118: n42 = kbd.nextInt();
119: n43 = kbd.nextInt();
120: n44 = kbd.nextInt();
121: n45 = kbd.nextInt();
122: n46 = kbd.nextInt();
123: n47 = kbd.nextInt();
124: n48 = kbd.nextInt();
125: n49 = kbd.nextInt();
126: n50 = kbd.nextInt();
127: n51 = kbd.nextInt();
128: n52 = kbd.nextInt();
129: n53 = kbd.nextInt();
130: n54 = kbd.nextInt();
131: n55 = kbd.nextInt();
132: n56 = kbd.nextInt();
133: n57 = kbd.nextInt();
134: n58 = kbd.nextInt();
135: n59 = kbd.nextInt();
136: n60 = kbd.nextInt();
137: n61 = kbd.nextInt();
138: n62 = kbd.nextInt();
139: n63 = kbd.nextInt();
140: n64 = kbd.nextInt();
141: n65 = kbd.nextInt();
142: n66 = kbd.nextInt();
143: n67 = kbd.nextInt();
144: n68 = kbd.nextInt();
145: n69 = kbd.nextInt();
146: n70 = kbd.nextInt();
147: n71 = kbd.nextInt();
148: n72 = kbd.nextInt();
149: n73 = kbd.nextInt();
150: n74 = kbd.nextInt();
151: n75 = kbd.nextInt();
152: n76 = kbd.nextInt();
153: n77 = kbd.nextInt();
154: n78 = kbd.nextInt();
155: n79 = kbd.nextInt();
156: n80 = kbd.nextInt();
157: n81 = kbd.nextInt();
158: n82 = kbd.nextInt();
159: n83 = kbd.nextInt();
160: n84 = kbd.nextInt();
161: n85 = kbd.nextInt();
162: n86 = kbd.nextInt();
163: n87 = kbd.nextInt();
164: n88 = kbd.nextInt();
165: n89 = kbd.nextInt();
166: n90 = kbd.nextInt();
167: n91 = kbd.nextInt();
168: n92 = kbd.nextInt();
169: n93 = kbd.nextInt();
170: n94 = kbd.nextInt();
171: n95 = kbd.nextInt();
172: n96 = kbd.nextInt();
173: n97 = kbd.nextInt();
174: n98 = kbd.nextInt();
175: n99 = kbd.nextInt();
176: n100 = kbd.nextInt();
177: n101 = kbd.nextInt();
178: n102 = kbd.nextInt();
179: n103 = kbd.nextInt();
180: n104 = kbd.nextInt();
181: n105 = kbd.nextInt();
182: n106 = kbd.nextInt();
183: n107 = kbd.nextInt();
184: n108 = kbd.nextInt();
185: n109 = kbd.nextInt();
186: n110 = kbd.nextInt();
187: n111 = kbd.nextInt();
188: n112 = kbd.nextInt();
189: n113 = kbd.nextInt();
190: n114 = kbd.nextInt();
191: n115 = kbd.nextInt();
192: n116 = kbd.nextInt();
193: n117 = kbd.nextInt();
194: n118 = kbd.nextInt();
195: n119 = kbd.nextInt();
196: n120 = kbd.nextInt();
197: n121 = kbd.nextInt();
198: n122 = kbd.nextInt();
199: n123 = kbd.nextInt();
200: n124 = kbd.nextInt();
201: n125 = kbd.nextInt();
202: n126 = kbd.nextInt();
203: n127 = kbd.nextInt();
204: n128 = kbd.nextInt();
205: n129 = kbd.nextInt();
206: n130 = kbd.nextInt();
207: n131 = kbd.nextInt();
208: n132 = kbd.nextInt();
209: n133 = kbd.nextInt();
210: n134 = kbd.nextInt();
211: n135 = kbd.nextInt();
212: n136 = kbd.nextInt();
213: n137 = kbd.nextInt();
214: n138 = kbd.nextInt();
215: n139 = kbd.nextInt();
216: n140 = kbd.nextInt();
217: n141 = kbd.nextInt();
218: n142 = kbd.nextInt();
219: n143 = kbd.nextInt();
220: n144 = kbd.nextInt();
221: n145 = kbd.nextInt();
222: n146 = kbd.nextInt();
223: n147 = kbd.nextInt();
224: n148 = kbd.nextInt();
225: n149 = kbd.nextInt();
226: n150 = kbd.nextInt();
227: n151 = kbd.nextInt();
228: n152 = kbd.nextInt();
229: n153 = kbd.nextInt();
230: n154 = kbd.nextInt();
231: n155 = kbd.nextInt();
232: n156 = kbd.nextInt();
233: n157 = kbd.nextInt();
234: n158 = kbd.nextInt();
235: n159 = kbd.nextInt();
236: n160 = kbd.nextInt();
237: n161 = kbd.nextInt();
238: n162 = kbd.nextInt();
239: n163 = kbd.nextInt();
240: n164 = kbd.nextInt();
241: n165 = kbd.nextInt();
242: n166 = kbd.nextInt();
243: n167 = kbd.nextInt();
244: n168 = kbd.nextInt();
245: n169 = kbd.nextInt();
246: n170 = kbd.nextInt();
247: n171 = kbd.nextInt();
248: n172 = kbd.nextInt();
249: n173 = kbd.nextInt();
250: n174 = kbd.nextInt();
251: n175 = kbd.nextInt();
252: n176 = kbd.nextInt();
253: n177 = kbd.nextInt();
254: n178 = kbd.nextInt();
255: n179 = kbd.nextInt();
256: n180 = kbd.nextInt();
257: n181 = kbd.nextInt();
258: n182 = kbd.nextInt();
259: n183 = kbd.nextInt();
260: n184 = kbd.nextInt();
261: n185 = kbd.nextInt();
262: n186 = kbd.nextInt();
263: n187 = kbd.nextInt();
264: n188 = kbd.nextInt();
265: n189 = kbd.nextInt();
266: n190 = kbd.nextInt();
267: n191 = kbd.nextInt();
268: n192 = kbd.nextInt();
269: n193 = kbd.nextInt();
270: n194 = kbd.nextInt();
271: n195 = kbd.nextInt();
272: n196 = kbd.nextInt();
273: n197 = kbd.nextInt();
274: n198 = kbd.nextInt();
275: n199 = kbd.nextInt();
276: n200 = kbd.nextInt();
277: n201 = kbd.nextInt();
278: n202 = kbd.nextInt();
279: n203 = kbd.nextInt();
280: n204 = kbd.nextInt();
281: n205 = kbd.nextInt();
282: n206 = kbd.nextInt();
283: n207 = kbd.nextInt();
284: n208 = kbd.nextInt();
285: n209 = kbd.nextInt();
286: n210 = kbd.nextInt();
287: n211 = kbd.nextInt();
288: n212 = kbd.nextInt();
289: n213 = kbd.nextInt();
290: n214 = kbd.nextInt();
291: n215 = kbd.nextInt();
292: n216 = kbd.nextInt();
293: n217 = kbd.nextInt();
294: n218 = kbd.nextInt();
295: n219 = kbd.nextInt();
296: n220 = kbd.nextInt();
297: n221 = kbd.nextInt();
298: n222 = kbd.nextInt();
299: n223 = kbd.nextInt();
300: n224 = kbd.nextInt();
301: n225 = kbd.nextInt();
302: n226 = kbd.nextInt();
303: n227 = kbd.nextInt();
304: n228 = kbd.nextInt();
305: n229 = kbd.nextInt();
306: n230 = kbd.nextInt();
307: n231 = kbd.nextInt();
308: n232 = kbd.nextInt();
309: n233 = kbd.nextInt();
310: n234 = kbd.nextInt();
311: n235 = kbd.nextInt();
312: n236 = kbd.nextInt();
313: n237 = kbd.nextInt();
314: n238 = kbd.nextInt();
315: n239 = kbd.nextInt();
316: n240 = kbd.nextInt();
317: n241 = kbd.nextInt();
318: n242 = kbd.nextInt();
319: n243 = kbd.nextInt();
320: n244 = kbd.nextInt();
321: n245 = kbd.nextInt();
322: n246 = kbd.nextInt();
323: n247 = kbd.nextInt();
324: n248 = kbd.nextInt();
325: n249 = kbd.nextInt();
326: n250 = kbd.nextInt();
327: n251 = kbd.nextInt();
328: n252 = kbd.nextInt();
329: n253 = kbd.nextInt();
330: n254 = kbd.nextInt();
331: n255 = kbd.nextInt();
332: n256 = kbd.nextInt();
333: n257 = kbd.nextInt();
334: n258 = kbd.nextInt();
335: n259 = kbd.nextInt();
336: n260 = kbd.nextInt();
337: n261 = kbd.nextInt();
338: n262 = kbd.nextInt();
339: n263 = kbd.nextInt();
340: n264 = kbd.nextInt();
341: n265 = kbd.nextInt();
342: n266 = kbd.nextInt();
343: n267 = kbd.nextInt();
344: n268 = kbd.nextInt();
345: n269 = kbd.nextInt();
346: n270 = kbd.nextInt();
347: n271 = kbd.nextInt();
348: n272 = kbd.nextInt();
349: n273 = kbd.nextInt();
350: n274 = kbd.nextInt();
351: n275 = kbd.nextInt();
352: n276 = kbd.nextInt();
353: n277 = kbd.nextInt();
354: n278 = kbd.nextInt();
355: n279 = kbd.nextInt();
356: n280 = kbd.nextInt();
357: n281 = kbd.nextInt();
358: n282 = kbd.nextInt();
359: n283 = kbd.nextInt();
360: n284 = kbd.nextInt();
361: n285 = kbd.nextInt();
362: n286 = kbd.nextInt();
363: n287 = kbd.nextInt();
364: n288 = kbd.nextInt();
365: n289 = kbd.nextInt();
366: n290 = kbd.nextInt();
367: n291 = kbd.nextInt();
368: n292 = kbd.nextInt();
369: n293 = kbd.nextInt();
370: n294 = kbd.nextInt();
371: n295 = kbd.nextInt();
372: n296 = kbd.nextInt();
373: n297 = kbd.nextInt();
374: n298 = kbd.nextInt();
375: n299 = kbd.nextInt();
376: n300 = kbd.nextInt();
377: n301 = kbd.nextInt();
378: n302 = kbd.nextInt();
379: n303 = kbd.nextInt();
380: n304 = kbd.nextInt();
381: n305 = kbd.nextInt();
382: n306 = kbd.nextInt();
383: n307 = kbd.nextInt();
384: n308 = kbd.nextInt();
385: n309 = kbd.nextInt();
386: n310 = kbd.nextInt();
387: n311 = kbd.nextInt();
388: n312 = kbd.nextInt();
389: n313 = kbd.nextInt();
390: n314 = kbd.nextInt();
391: n315 = kbd.nextInt();
392: n316 = kbd.nextInt();
393: n317 = kbd.nextInt();
394: n318 = kbd.nextInt();
395: n319 = kbd.nextInt();
396: n320 = kbd.nextInt();
397: n321 = kbd.nextInt();
398: n322 = kbd.nextInt();
399: n323 = kbd.nextInt();
400: n324 = kbd.nextInt();
401: n325 = kbd.nextInt();
402: n326 = kbd.nextInt();
403: n327 = kbd.nextInt();
404: n328 = kbd.nextInt();
405: n329 = kbd.nextInt();
406: n330 = kbd.nextInt();
407: n331 = kbd.nextInt();
408: n332 = kbd.nextInt();
409: n333 = kbd.nextInt();
410: n334 = kbd.nextInt();
411: n335 = kbd.nextInt();
412: n336 = kbd.nextInt();
413: n337 = kbd.nextInt();
414: n338 = kbd.nextInt();
415: n339 = kbd.nextInt();
416: n340 = kbd.nextInt();
417: n341 = kbd.nextInt();
418: n342 = kbd.nextInt();
419: n343 = kbd.nextInt();
420: n344 = kbd.nextInt();
421: n345 = kbd.nextInt();
422: n346 = kbd.nextInt();
423: n347 = kbd.nextInt();
424: n348 = kbd.nextInt();
425: n349 = kbd.nextInt();
426: n350 = kbd.nextInt();
427: n351 = kbd.nextInt();
428: n352 = kbd.nextInt();
429: n353 = kbd.nextInt();
430: n354 = kbd.nextInt();
431: n355 = kbd.nextInt();
432: n356 = kbd.nextInt();
433: n357 = kbd.nextInt();
434: n358 = kbd.nextInt();
435: n359 = kbd.nextInt();
436: n360 = kbd.nextInt();
437: n361 = kbd.nextInt();
438: n362 = kbd.nextInt();
439: n363 = kbd.nextInt();
440: n364 = kbd.nextInt();
441: n365 = kbd.nextInt();
442: n366 = kbd.nextInt();
443: n367 = kbd.nextInt();
444: n368 = kbd.nextInt();
445: n369 = kbd.nextInt();
446: n370 = kbd.nextInt();
447: n371 = kbd.nextInt();
448: n372 = kbd.nextInt();
449: n373 = kbd.nextInt();
450: n374 = kbd.nextInt();
451: n375 = kbd.nextInt();
452: n376 = kbd.nextInt();
453: n377 = kbd.nextInt();
454: n378 = kbd.nextInt();
455: n379 = kbd.nextInt();
456: n380 = kbd.nextInt();
457: n381 = kbd.nextInt();
458: n382 = kbd.nextInt();
459: n383 = kbd.nextInt();
460: n384 = kbd.nextInt();
461: n385 = kbd.nextInt();
462: n386 = kbd.nextInt();
463: n387 = kbd.nextInt();
464: n388 = kbd.nextInt();
465: n389 = kbd.nextInt();
466: n390 = kbd.nextInt();
467: n391 = kbd.nextInt();
468: n392 = kbd.nextInt();
469: n393 = kbd.nextInt();
470: n394 = kbd.nextInt();
471: n395 = kbd.nextInt();
472: n396 = kbd.nextInt();
473: n397 = kbd.nextInt();
474: n398 = kbd.nextInt();
475: n399 = kbd.nextInt();
476: n400 = kbd.nextInt();
477: n401 = kbd.nextInt();
478: n402 = kbd.nextInt();
479: n403 = kbd.nextInt();
480: n404 = kbd.nextInt();
481: n405 = kbd.nextInt();
482: n406 = kbd.nextInt();
483: n407 = kbd.nextInt();
484: n408 = kbd.nextInt();
485: n409 = kbd.nextInt();
486: n410 = kbd.nextInt();
487: n411 = kbd.nextInt();
488: n412 = kbd.nextInt();
489: n413 = kbd.nextInt();
490: n414 = kbd.nextInt();
491: n415 = kbd.nextInt();
492: n416 = kbd.nextInt();
493: n417 = kbd.nextInt();
494: n418 = kbd.nextInt();
495: n419 = kbd.nextInt();
496: n420 = kbd.nextInt();
497: n421 = kbd.nextInt();
498: n422 = kbd.nextInt();
499: n423 = kbd.nextInt();
500: n424 = kbd.nextInt();
501: n425 = kbd.nextInt();
502: n426 = kbd.nextInt();
503: n427 = kbd.nextInt();
504: n428 = kbd.nextInt();
505: n429 = kbd.nextInt();
506: n430 = kbd.nextInt();
507: n431 = kbd.nextInt();
508: n432 = kbd.nextInt();
509: n433 = kbd.nextInt();
510: n434 = kbd.nextInt();
511: n435 = kbd.nextInt();
512: n436 = kbd.nextInt();
513: n437 = kbd.nextInt();
514: n438 = kbd.nextInt();
515: n439 = kbd.nextInt();
516: n440 = kbd.nextInt();
517: n441 = kbd.nextInt();
518: n442 = kbd.nextInt();
519: n443 = kbd.nextInt();
520: n444 = kbd.nextInt();
521: n445 = kbd.nextInt();
522: n446 = kbd.nextInt();
523: n447 = kbd.nextInt();
524: n448 = kbd.nextInt();
525: n449 = kbd.nextInt();
526: n450 = kbd.nextInt();
527: n451 = kbd.nextInt();
528: n452 = kbd.nextInt();
529: n453 = kbd.nextInt();
530: n454 = kbd.nextInt();
531: n455 = kbd.nextInt();
532: n456 = kbd.nextInt();
533: n457 = kbd.nextInt();
534: n458 = kbd.nextInt();
535: n459 = kbd.nextInt();
536: n460 = kbd.nextInt();
537: n461 = kbd.nextInt();
538: n462 = kbd.nextInt();
539: n463 = kbd.nextInt();
540: n464 = kbd.nextInt();
541: n465 = kbd.nextInt();
542: n466 = kbd.nextInt();
543: n467 = kbd.nextInt();
544: n468 = kbd.nextInt();
545: n469 = kbd.nextInt();
546: n470 = kbd.nextInt();
547: n471 = kbd.nextInt();
548: n472 = kbd.nextInt();
549: n473 = kbd.nextInt();
550: n474 = kbd.nextInt();
551: n475 = kbd.nextInt();
552: n476 = kbd.nextInt();
553: n477 = kbd.nextInt();
554: n478 = kbd.nextInt();
555: n479 = kbd.nextInt();
556: n480 = kbd.nextInt();
557: n481 = kbd.nextInt();
558: n482 = kbd.nextInt();
559: n483 = kbd.nextInt();
560: n484 = kbd.nextInt();
561: n485 = kbd.nextInt();
562: n486 = kbd.nextInt();
563: n487 = kbd.nextInt();
564: n488 = kbd.nextInt();
565: n489 = kbd.nextInt();
566: n490 = kbd.nextInt();
567: n491 = kbd.nextInt();
568: n492 = kbd.nextInt();
569: n493 = kbd.nextInt();
570: n494 = kbd.nextInt();
571: n495 = kbd.nextInt();
572: n496 = kbd.nextInt();
573: n497 = kbd.nextInt();
574: n498 = kbd.nextInt();
575: n499 = kbd.nextInt();
576: n500 = kbd.nextInt();
577: n501 = kbd.nextInt();
578: n502 = kbd.nextInt();
579: n503 = kbd.nextInt();
580: n504 = kbd.nextInt();
581: n505 = kbd.nextInt();
582: n506 = kbd.nextInt();
583: n507 = kbd.nextInt();
584: n508 = kbd.nextInt();
585: n509 = kbd.nextInt();
586: n510 = kbd.nextInt();
587: n511 = kbd.nextInt();
588: n512 = kbd.nextInt();
589: n513 = kbd.nextInt();
590: n514 = kbd.nextInt();
591: n515 = kbd.nextInt();
592: n516 = kbd.nextInt();
593: n517 = kbd.nextInt();
594: n518 = kbd.nextInt();
595: n519 = kbd.nextInt();
596: n520 = kbd.nextInt();
597: n521 = kbd.nextInt();
598: n522 = kbd.nextInt();
599: n523 = kbd.nextInt();
600: n524 = kbd.nextInt();
601: n525 = kbd.nextInt();
602: n526 = kbd.nextInt();
603: n527 = kbd.nextInt();
604: n528 = kbd.nextInt();
605: n529 = kbd.nextInt();
606: n530 = kbd.nextInt();
607: n531 = kbd.nextInt();
608: n532 = kbd.nextInt();
609: n533 = kbd.nextInt();
610: n534 = kbd.nextInt();
611: n535 = kbd.nextInt();
612: n536 = kbd.nextInt();
613: n537 = kbd.nextInt();
614: n538 = kbd.nextInt();
615: n539 = kbd.nextInt();
616: n540 = kbd.nextInt();
617: n541 = kbd.nextInt();
618: n542 = kbd.nextInt();
619: n543 = kbd.nextInt();
620: n544 = kbd.nextInt();
621: n545 = kbd.nextInt();
622: n546 = kbd.nextInt();
623: n547 = kbd.nextInt();
624: n548 = kbd.nextInt();
625: n549 = kbd.nextInt();
626: n550 = kbd.nextInt();
627: n551 = kbd.nextInt();
628: n552 = kbd.nextInt();
629: n553 = kbd.nextInt();
630: n554 = kbd.nextInt();
631: n555 = kbd.nextInt();
632: n556 = kbd.nextInt();
633: n557 = kbd.nextInt();
634: n558 = kbd.nextInt();
635: n559 = kbd.nextInt();
636: n560 = kbd.nextInt();
637: n561 = kbd.nextInt();
638: n562 = kbd.nextInt();
639: n563 = kbd.nextInt();
640: n564 = kbd.nextInt();
641: n565 = kbd.nextInt();
642: n566 = kbd.nextInt();
643: n567 = kbd.nextInt();
644: n568 = kbd.nextInt();
645: n569 = kbd.nextInt();
646: n570 = kbd.nextInt();
647: n571 = kbd.nextInt();
648: n572 = kbd.nextInt();
649: n573 = kbd.nextInt();
650: n574 = kbd.nextInt();
651: n575 = kbd.nextInt();
652: n576 = kbd.nextInt();
653: n577 = kbd.nextInt();
654: n578 = kbd.nextInt();
655: n579 = kbd.nextInt();
656: n580 = kbd.nextInt();
657: n581 = kbd.nextInt();
658: n582 = kbd.nextInt();
659: n583 = kbd.nextInt();
660: n584 = kbd.nextInt();
661: n585 = kbd.nextInt();
662: n586 = kbd.nextInt();
663: n587 = kbd.nextInt();
664: n588 = kbd.nextInt();
665: n589 = kbd.nextInt();
666: n590 = kbd.nextInt();
667: n591 = kbd.nextInt();
668: n592 = kbd.nextInt();
669: n593 = kbd.nextInt();
670: n594 = kbd.nextInt();
671: n595 = kbd.nextInt();
672: n596 = kbd.nextInt();
673: n597 = kbd.nextInt();
674: n598 = kbd.nextInt();
675: n599 = kbd.nextInt();
677: // tidy up input stream
678: kbd.nextLine();
680: // Print them out in reverse order
681: System.out.println("The numbers you entered (in reverse order) were:\n"
682: + n599 + ", " + n598 + ", " + n597 + ", " + n596 + ", " + n595
683: + ", " + n594 + ", " + n593 + ", " + n592 + ", " + n591 + ", "
684: + n590 + ", " + n589 + ", " + n588 + ", " + n587 + ", " + n586
685: + ", " + n585 + ", " + n584 + ", " + n583 + ", " + n582 + ", "
686: + n581 + ", " + n580 + ", " + n579 + ", " + n578 + ", " + n577
687: + ", " + n576 + ", " + n575 + ", " + n574 + ", " + n573 + ", "
688: + n572 + ", " + n571 + ", " + n570 + ", " + n569 + ", " + n568
689: + ", " + n567 + ", " + n566 + ", " + n565 + ", " + n564 + ", "
690: + n563 + ", " + n562 + ", " + n561 + ", " + n560 + ", " + n559
691: + ", " + n558 + ", " + n557 + ", " + n556 + ", " + n555 + ", "
692: + n554 + ", " + n553 + ", " + n552 + ", " + n551 + ", " + n550
693: + ", " + n549 + ", " + n548 + ", " + n547 + ", " + n546 + ", "
694: + n545 + ", " + n544 + ", " + n543 + ", " + n542 + ", " + n541
695: + ", " + n540 + ", " + n539 + ", " + n538 + ", " + n537 + ", "
696: + n536 + ", " + n535 + ", " + n534 + ", " + n533 + ", " + n532
697: + ", " + n531 + ", " + n530 + ", " + n529 + ", " + n528 + ", "
698: + n527 + ", " + n526 + ", " + n525 + ", " + n524 + ", " + n523
699: + ", " + n522 + ", " + n521 + ", " + n520 + ", " + n519 + ", "
700: + n518 + ", " + n517 + ", " + n516 + ", " + n515 + ", " + n514
701: + ", " + n513 + ", " + n512 + ", " + n511 + ", " + n510 + ", "
702: + n509 + ", " + n508 + ", " + n507 + ", " + n506 + ", " + n505
703: + ", " + n504 + ", " + n503 + ", " + n502 + ", " + n501 + ", "
704: + n500 + ", " + n499 + ", " + n498 + ", " + n497 + ", " + n496
705: + ", " + n495 + ", " + n494 + ", " + n493 + ", " + n492 + ", "
706: + n491 + ", " + n490 + ", " + n489 + ", " + n488 + ", " + n487
707: + ", " + n486 + ", " + n485 + ", " + n484 + ", " + n483 + ", "
708: + n482 + ", " + n481 + ", " + n480 + ", " + n479 + ", " + n478
709: + ", " + n477 + ", " + n476 + ", " + n475 + ", " + n474 + ", "
710: + n473 + ", " + n472 + ", " + n471 + ", " + n470 + ", " + n469
711: + ", " + n468 + ", " + n467 + ", " + n466 + ", " + n465 + ", "
712: + n464 + ", " + n463 + ", " + n462 + ", " + n461 + ", " + n460
713: + ", " + n459 + ", " + n458 + ", " + n457 + ", " + n456 + ", "
714: + n455 + ", " + n454 + ", " + n453 + ", " + n452 + ", " + n451
715: + ", " + n450 + ", " + n449 + ", " + n448 + ", " + n447 + ", "
716: + n446 + ", " + n445 + ", " + n444 + ", " + n443 + ", " + n442
717: + ", " + n441 + ", " + n440 + ", " + n439 + ", " + n438 + ", "
718: + n437 + ", " + n436 + ", " + n435 + ", " + n434 + ", " + n433
719: + ", " + n432 + ", " + n431 + ", " + n430 + ", " + n429 + ", "
720: + n428 + ", " + n427 + ", " + n426 + ", " + n425 + ", " + n424
721: + ", " + n423 + ", " + n422 + ", " + n421 + ", " + n420 + ", "
722: + n419 + ", " + n418 + ", " + n417 + ", " + n416 + ", " + n415
723: + ", " + n414 + ", " + n413 + ", " + n412 + ", " + n411 + ", "
724: + n410 + ", " + n409 + ", " + n408 + ", " + n407 + ", " + n406
725: + ", " + n405 + ", " + n404 + ", " + n403 + ", " + n402 + ", "
726: + n401 + ", " + n400 + ", " + n399 + ", " + n398 + ", " + n397
727: + ", " + n396 + ", " + n395 + ", " + n394 + ", " + n393 + ", "
728: + n392 + ", " + n391 + ", " + n390 + ", " + n389 + ", " + n388
729: + ", " + n387 + ", " + n386 + ", " + n385 + ", " + n384 + ", "
730: + n383 + ", " + n382 + ", " + n381 + ", " + n380 + ", " + n379
731: + ", " + n378 + ", " + n377 + ", " + n376 + ", " + n375 + ", "
732: + n374 + ", " + n373 + ", " + n372 + ", " + n371 + ", " + n370
733: + ", " + n369 + ", " + n368 + ", " + n367 + ", " + n366 + ", "
734: + n365 + ", " + n364 + ", " + n363 + ", " + n362 + ", " + n361
735: + ", " + n360 + ", " + n359 + ", " + n358 + ", " + n357 + ", "
736: + n356 + ", " + n355 + ", " + n354 + ", " + n353 + ", " + n352
737: + ", " + n351 + ", " + n350 + ", " + n349 + ", " + n348 + ", "
738: + n347 + ", " + n346 + ", " + n345 + ", " + n344 + ", " + n343
739: + ", " + n342 + ", " + n341 + ", " + n340 + ", " + n339 + ", "
740: + n338 + ", " + n337 + ", " + n336 + ", " + n335 + ", " + n334
741: + ", " + n333 + ", " + n332 + ", " + n331 + ", " + n330 + ", "
742: + n329 + ", " + n328 + ", " + n327 + ", " + n326 + ", " + n325
743: + ", " + n324 + ", " + n323 + ", " + n322 + ", " + n321 + ", "
744: + n320 + ", " + n319 + ", " + n318 + ", " + n317 + ", " + n316
745: + ", " + n315 + ", " + n314 + ", " + n313 + ", " + n312 + ", "
746: + n311 + ", " + n310 + ", " + n309 + ", " + n308 + ", " + n307
747: + ", " + n306 + ", " + n305 + ", " + n304 + ", " + n303 + ", "
748: + n302 + ", " + n301 + ", " + n300 + ", " + n299 + ", " + n298
749: + ", " + n297 + ", " + n296 + ", " + n295 + ", " + n294 + ", "
750: + n293 + ", " + n292 + ", " + n291 + ", " + n290 + ", " + n289
751: + ", " + n288 + ", " + n287 + ", " + n286 + ", " + n285 + ", "
752: + n284 + ", " + n283 + ", " + n282 + ", " + n281 + ", " + n280
753: + ", " + n279 + ", " + n278 + ", " + n277 + ", " + n276 + ", "
754: + n275 + ", " + n274 + ", " + n273 + ", " + n272 + ", " + n271
755: + ", " + n270 + ", " + n269 + ", " + n268 + ", " + n267 + ", "
756: + n266 + ", " + n265 + ", " + n264 + ", " + n263 + ", " + n262
757: + ", " + n261 + ", " + n260 + ", " + n259 + ", " + n258 + ", "
758: + n257 + ", " + n256 + ", " + n255 + ", " + n254 + ", " + n253
759: + ", " + n252 + ", " + n251 + ", " + n250 + ", " + n249 + ", "
760: + n248 + ", " + n247 + ", " + n246 + ", " + n245 + ", " + n244
761: + ", " + n243 + ", " + n242 + ", " + n241 + ", " + n240 + ", "
762: + n239 + ", " + n238 + ", " + n237 + ", " + n236 + ", " + n235
763: + ", " + n234 + ", " + n233 + ", " + n232 + ", " + n231 + ", "
764: + n230 + ", " + n229 + ", " + n228 + ", " + n227 + ", " + n226
765: + ", " + n225 + ", " + n224 + ", " + n223 + ", " + n222 + ", "
766: + n221 + ", " + n220 + ", " + n219 + ", " + n218 + ", " + n217
767: + ", " + n216 + ", " + n215 + ", " + n214 + ", " + n213 + ", "
768: + n212 + ", " + n211 + ", " + n210 + ", " + n209 + ", " + n208
769: + ", " + n207 + ", " + n206 + ", " + n205 + ", " + n204 + ", "
770: + n203 + ", " + n202 + ", " + n201 + ", " + n200 + ", " + n199
771: + ", " + n198 + ", " + n197 + ", " + n196 + ", " + n195 + ", "
772: + n194 + ", " + n193 + ", " + n192 + ", " + n191 + ", " + n190
773: + ", " + n189 + ", " + n188 + ", " + n187 + ", " + n186 + ", "
774: + n185 + ", " + n184 + ", " + n183 + ", " + n182 + ", " + n181
775: + ", " + n180 + ", " + n179 + ", " + n178 + ", " + n177 + ", "
776: + n176 + ", " + n175 + ", " + n174 + ", " + n173 + ", " + n172
777: + ", " + n171 + ", " + n170 + ", " + n169 + ", " + n168 + ", "
778: + n167 + ", " + n166 + ", " + n165 + ", " + n164 + ", " + n163
779: + ", " + n162 + ", " + n161 + ", " + n160 + ", " + n159 + ", "
780: + n158 + ", " + n157 + ", " + n156 + ", " + n155 + ", " + n154
781: + ", " + n153 + ", " + n152 + ", " + n151 + ", " + n150 + ", "
782: + n149 + ", " + n148 + ", " + n147 + ", " + n146 + ", " + n145
783: + ", " + n144 + ", " + n143 + ", " + n142 + ", " + n141 + ", "
784: + n140 + ", " + n139 + ", " + n138 + ", " + n137 + ", " + n136
785: + ", " + n135 + ", " + n134 + ", " + n133 + ", " + n132 + ", "
786: + n131 + ", " + n130 + ", " + n129 + ", " + n128 + ", " + n127
787: + ", " + n126 + ", " + n125 + ", " + n124 + ", " + n123 + ", "
788: + n122 + ", " + n121 + ", " + n120 + ", " + n119 + ", " + n118
789: + ", " + n117 + ", " + n116 + ", " + n115 + ", " + n114 + ", "
790: + n113 + ", " + n112 + ", " + n111 + ", " + n110 + ", " + n109
791: + ", " + n108 + ", " + n107 + ", " + n106 + ", " + n105 + ", "
792: + n104 + ", " + n103 + ", " + n102 + ", " + n101 + ", " + n100
793: + ", " + n99 + ", " + n98 + ", " + n97 + ", " + n96 + ", " + n95
794: + ", " + n94 + ", " + n93 + ", " + n92 + ", " + n91 + ", " + n90
795: + ", " + n89 + ", " + n88 + ", " + n87 + ", " + n86 + ", " + n85
796: + ", " + n84 + ", " + n83 + ", " + n82 + ", " + n81 + ", " + n80
797: + ", " + n79 + ", " + n78 + ", " + n77 + ", " + n76 + ", " + n75
798: + ", " + n74 + ", " + n73 + ", " + n72 + ", " + n71 + ", " + n70
799: + ", " + n69 + ", " + n68 + ", " + n67 + ", " + n66 + ", " + n65
800: + ", " + n64 + ", " + n63 + ", " + n62 + ", " + n61 + ", " + n60
801: + ", " + n59 + ", " + n58 + ", " + n57 + ", " + n56 + ", " + n55
802: + ", " + n54 + ", " + n53 + ", " + n52 + ", " + n51 + ", " + n50
803: + ", " + n49 + ", " + n48 + ", " + n47 + ", " + n46 + ", " + n45
804: + ", " + n44 + ", " + n43 + ", " + n42 + ", " + n41 + ", " + n40
805: + ", " + n39 + ", " + n38 + ", " + n37 + ", " + n36 + ", " + n35
806: + ", " + n34 + ", " + n33 + ", " + n32 + ", " + n31 + ", " + n30
807: + ", " + n29 + ", " + n28 + ", " + n27 + ", " + n26 + ", " + n25
808: + ", " + n24 + ", " + n23 + ", " + n22 + ", " + n21 + ", " + n20
809: + ", " + n19 + ", " + n18 + ", " + n17 + ", " + n16 + ", " + n15
810: + ", " + n14 + ", " + n13 + ", " + n12 + ", " + n11 + ", " + n10
811: + ", " + n9 + ", " + n8 + ", " + n7 + ", " + n6 + ", " + n5
812: + ", " + n4 + ", " + n3 + ", " + n2 + ", " + n1 + ", and "
813: + n0);
815: // print some blank lines at the end
816: System.out.println("\n\n(Whew!)\n\n");
817: }
818: }