#include<stdio.h>
int main(){
int a,b,c=180;
    printf("%d",&a);
    printf("%d",&b);
if(a>=0;b<=180){
int d=c-a+b;
    printf("%d",d);
}
}