# Python3 (3.4.3)
import sys
input = sys.stdin.readline

# -------------------------------------------------------------
# function
# -------------------------------------------------------------


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

print(min(B//A,C)) 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 print(min(B//A,C)) print min(B//A,C) min B//A B A C B,C = map(int,input().split()) map(int,input().split()) B A,B,C = map(int,input().split()) map(int,input().split()) A input = sys.stdin.readline sys.stdin.readline input C = map(int,input().split()) map(int,input().split()) C
# Python3 (3.4.3)
import sys
input = sys.stdin.readline

# -------------------------------------------------------------
# function
# -------------------------------------------------------------


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

print(min(B//A,C))