ary = input().split(" ")
A = int(ary[0])
B = int(ary[1])
C = int(ary[2])

print(C) if int(B/A) >= C else print(int(B/A)) ary = input().split(" ") ary input().split(" ") ().split () input split " " A = int(ary[0]) A int(ary[0]) int ary[0] ary 0 B = int(ary[1]) B int(ary[1]) int ary[1] ary 1 C = int(ary[2]) C int(ary[2]) int ary[2] ary 2 print(C) if int(B/A) >= C else print(int(B/A)) int(B/A) >= C int(B/A) int B/A B A C print(C) print C print(int(B/A)) print int(B/A) int B/A B A C = int(ary[2]) int(ary[2]) C B = int(ary[1]) int(ary[1]) B ary = input().split(" ") input().split(" ") ary A = int(ary[0]) int(ary[0]) A
ary = input().split(" ")
A = int(ary[0])
B = int(ary[1])
C = int(ary[2])

print(C) if int(B/A) >= C else print(int(B/A))