#116A
# 1.値を正しく取得
a, b, c = (int(x) for x in input().split())

# 2.正しく処理
print(min(b//a,c)) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x a, b, c = (int(x) for x in input().split()) a (int(x) for x in input().split()) b c print(min(b//a,c)) print min(b//a,c) min b//a b a c a, b, c = (int(x) for x in input().split()) (int(x) for x in input().split()) a c = (int(x) for x in input().split()) (int(x) for x in input().split()) c b, c = (int(x) for x in input().split()) (int(x) for x in input().split()) b
#116A
# 1.値を正しく取得
a, b, c = (int(x) for x in input().split())

# 2.正しく処理
print(min(b//a,c))