# 初期入力
import sys
input = sys.stdin.readline  #文字列では使わない
A,B,C = map(int, input().split())
hear =B //A
ans =min(hear,C)
print(ans) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline A,B,C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C hear =B //A hear B //A B A ans =min(hear,C) ans min(hear,C) min hear C print(ans) print ans input = sys.stdin.readline sys.stdin.readline input C = map(int, input().split()) map(int, input().split()) C A,B,C = map(int, input().split()) map(int, input().split()) A B,C = map(int, input().split()) map(int, input().split()) B hear =B //A B //A hear ans =min(hear,C) min(hear,C) ans
# 初期入力
import sys
input = sys.stdin.readline  #文字列では使わない
A,B,C = map(int, input().split())
hear =B //A
ans =min(hear,C)
print(ans)