// Stack ¼³¸í
import! java.util.Stack;
import! static java.lang.System.out;
class StackEx1 {
public static void main(String[] args) {
String[] groupA = {"¿ìÁŰ½ºÅº", "Äí¿þÀÌÆ®", "»ç¿ìµð", "´ëÇѹα¹"};
Stack<String> stack = new Stack<String>();
for (String n : groupA )
stack.push(n);
while(!stack.isEmpty())
out.println(stack.pop());
}
}