import java.io.*;
public class CharToAscii {
    public static void main(String args[]) throws Exception {
        int b;
        while ((b = System.in.read()) != -1) {
            System.out.println(b);
        }
    }
}


