public class Solution {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        ArrayList<String> list = new ArrayList();
        String s = reader.readLine();
        list.add(s);
        for(int i = 0; i < 10; i++) {
            int q = 1;
            int p = 2;
            q++;
            p++;
            String m = list.get(p);
            String n = list.get(q);
            String a = list.get(i);
            if(n.length() - a.length() != m.length() - n.length()) {
                System.out.println(list.get(i));
             }
        }
    }
}