import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;

public class Garden {

    public static void main(String[] args) {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a, b, c , d;
        int len;
        try {
            String[] line = br.readLine().split("\\s+");
            a = Integer.parseInt(line[0]);
            b = Integer.parseInt(line[1]);
            /*line = br.readLine().split("\\s+");
            System.out.println("Line 2:" + Arrays.toString(line));
            a = Integer.parseInt(line[0]);
            b = Integer.parseInt(line[1]);
            c = Integer.parseInt(line[2]);
            d = Integer.parseInt(line[3]);*/

            int count = 0;
            for (int i = (int)a; i <= b; i++) {
                count += getNOfDividors(i);
            }

            System.out.println(count);
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }

    private static int getNOfDividors(int i) {
        int count = 0;
        for (int j = 1; j <= i; j++) {
            if (i%j == 0) {
                count++;
            }
        }
        return count;
    }
}

