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

print(C) if ( A*C <= B )  else print(int(B/A)) A,B,C=map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C print(C) if ( A*C <= B )  else print(int(B/A)) A*C <= B A*C A C B print(C) print C print(int(B/A)) print int(B/A) int B/A B A A,B,C=map(int, input().split()) map(int, input().split()) 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())

print(C) if ( A*C <= B )  else print(int(B/A))