import java.util.*; class Main { public static void main(String[] args) { Scanner sc=new Scanner (System.in); int a=sc.nextInt(),b=sc.nextInt(); int cnt=0; for(int i=0;i>-a-b;i--) { cnt--; } System.out.println((int)Math.abs(cnt)); } }