#include <stdio.h>
 main( )
 {
    int g,d,c;
 
    scanf("%d %d",&g,&d);
    c=g-d;
    printf("%d\n",c);
    
 }