#include <stdio.h>//
void main()
{
int a;
scanf("%d",&a);
printf("%d\n", a+30);
switch (a)
{
case (a > 90) 1:printf("输出: A \n");
case ( a >=80 && a <=89 ) 2: printf("输出:B \n");
case ( a >=70 && a <=79 ) 3: printf("输出:C \n");
case ( a >=60 && a >=69 ) 4: printf("输出:D \n");
case ( a < 60 ) 5: printf("输出 :E \n");
}
}