import sys
input = sys.stdin.readline
from collections import *

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

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