# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

A, B, C = lr()
time = B // A
answer = min(C, time)
print(answer) import sys sys sr = lambda: sys.stdin.readline().rstrip() sr lambda: sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip ir = lambda: int(sr()) ir lambda: int(sr()) int(sr()) int sr() sr lr = lambda: list(map(int, sr().split())) lr lambda: list(map(int, sr().split())) list(map(int, sr().split())) list map(int, sr().split()) map int sr().split() ().split () sr split A, B, C = lr() A lr() lr B C time = B // A time B // A B A answer = min(C, time) answer min(C, time) min C time print(answer) print answer time = B // A B // A time lr = lambda: list(map(int, sr().split())) lambda: list(map(int, sr().split())) lr A, B, C = lr() lr() A answer = min(C, time) min(C, time) answer C = lr() lr() C B, C = lr() lr() B sr = lambda: sys.stdin.readline().rstrip() lambda: sys.stdin.readline().rstrip() sr ir = lambda: int(sr()) lambda: int(sr()) ir
# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

A, B, C = lr()
time = B // A
answer = min(C, time)
print(answer)
