import math
A,B,C = map(int,input().split())

if (B/A)>=C:
    print(C)
elif (B/A)<C:
    print(math.floor(B/A)) import math math A,B,C = map(int,input().split()) A map(int,input().split()) map int input().split() ().split () input split B C if (B/A)>=C:
    print(C)
elif (B/A)<C:
    print(math.floor(B/A)) (B/A)>=C B/A B A C print(C) print C elif (B/A)<C:
    print(math.floor(B/A)) (B/A)<C B/A B A C print(math.floor(B/A)) print math.floor(B/A) math.floor math floor B/A B A C = map(int,input().split()) map(int,input().split()) C B,C = map(int,input().split()) map(int,input().split()) B A,B,C = map(int,input().split()) map(int,input().split()) A
import math
A,B,C = map(int,input().split())

if (B/A)>=C:
    print(C)
elif (B/A)<C:
    print(math.floor(B/A))