import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        String str = in.nextLine();
        String[] nums = str.split(" ");
        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int sum = (a % 100 + b % 100) % 100;//只需要用a,b的低两位相加,并对100取余即可
        System.out.println(sum);
    }
}