class ByteDemo
{
public static void main(String a[]) throws Exception
{
int value=System.in.read();
System.out.println(value);
/*
byte a1=50;
byte b=51;
byte result=(byte)(a1&b);
int as=(a1&b);
System.out.println(result);
System.out.println(as);
*/
/*byte b=127;
int i=0;
while(i<128)
{
System.out.println((char)i);
i++;
}
byte b1=-127;
System.out.println((char)b1);
*/
}
}
{
public static void main(String a[]) throws Exception
{
int value=System.in.read();
System.out.println(value);
/*
byte a1=50;
byte b=51;
byte result=(byte)(a1&b);
int as=(a1&b);
System.out.println(result);
System.out.println(as);
*/
/*byte b=127;
int i=0;
while(i<128)
{
System.out.println((char)i);
i++;
}
byte b1=-127;
System.out.println((char)b1);
*/
}
}