a,b,c = input().split()

a = int(a)
b = int(b)
c = int(c)

if 1 <= a <= 100:
    if 1 <= b <= 100:
        if 1<= c <= 100:

            x = b / a
            if x >= c:
                print(int(c))
            else:
                print(int(x)) a,b,c = input().split() a input().split() ().split () input split b c a = int(a) a int(a) int a b = int(b) b int(b) int b c = int(c) c int(c) int c if 1 <= a <= 100:
    if 1 <= b <= 100:
        if 1<= c <= 100:

            x = b / a
            if x >= c:
                print(int(c))
            else:
                print(int(x)) 1 <= a <= 100 1 <= a 1 a 100 if 1 <= b <= 100:
        if 1<= c <= 100:

            x = b / a
            if x >= c:
                print(int(c))
            else:
                print(int(x)) 1 <= b <= 100 1 <= b 1 b 100 if 1<= c <= 100:

            x = b / a
            if x >= c:
                print(int(c))
            else:
                print(int(x)) 1<= c <= 100 1<= c 1 c 100 x = b / a x b / a b a if x >= c:
                print(int(c))
            else:
                print(int(x)) x >= c x c print(int(c)) print int(c) int c print(int(x)) print int(x) int x a,b,c = input().split() input().split() a c = input().split() input().split() c c = int(c) int(c) c a = int(a) int(a) a b = int(b) int(b) b b,c = input().split() input().split() b x = b / a b / a x
a,b,c = input().split()

a = int(a)
b = int(b)
c = int(c)

if 1 <= a <= 100:
    if 1 <= b <= 100:
        if 1<= c <= 100:

            x = b / a
            if x >= c:
                print(int(c))
            else:
                print(int(x))