Problem:


Score : 100 points

Problem Statement

Takahashi likes the sound when he buys a drink from a vending machine.

That sound can be heard by spending A yen (the currency of Japan) each time.

Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time.

How many times will he hear the sound?

Constraints

All values in input are integers.

1 \leq A, B, C \leq 100

Input

Input is given from Standard Input in the following format:

A B C

Output

Print the number of times Takahashi will hear his favorite sound.

Sample Input 1

2 11 4

Sample Output 1

4

Since he has not less than 8 yen, he will hear the sound four times and be satisfied.

Sample Input 2

3 9 5

Sample Output 2

3

He may not be able to be satisfied.

Sample Input 3

100 1 10

Sample Output 3

0



Sample input:
2 11 4


Sample output:
4

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
n=0
n=b/a
if n>c:
    n=c
print(int(n))

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if b // a > c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())


if a*c <= b:
	print(c)
elif a*c > b:
	print(b//a)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
ans = B // A
if ans < C:
    print(ans)
else:
    print(C)

Submission status: Accepted

Solution code:
#!/usr/bin/python
# coding: UTF-8

A, B, C = map(int, input().split())
ans = B // A if B // A < C else C
print(ans)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
D = B//A
if D > C:
    print(C)
else:
    print(D)

Submission status: Accepted

Solution code:
def main() -> None:
    A, B, C = map(int, input().split())
    m = B // A
    if m > C:
        print(C)
    else:
        print(m)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if b // a >= c:
  print(c)
else:
  print(b // a)

Submission status: Accepted

Solution code:
inp = list(map(int,input().split(" ")))
print(min(int(inp[1]/inp[0]),inp[2]))

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if b//a >= c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(min([b // a, c]))

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))
print(min(c, b//a))

Submission status: Accepted

Solution code:
# coding: utf-8

def _main():
    text = input()
    A, B, C = [int(i) for i in text.split(' ')]

    max_count = int(B / A)
    print(min(max_count, C))


if __name__ == '__main__':
    _main()

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if b >= a*c:
  print(c)
else:
  print(b//a)

Submission status: Accepted

Solution code:
#coding: utf-8
import math

def main():
    line_input = input()
    line_split = line_input.split()
    A = int(line_split[0])
    B = int(line_split[1])
    C = int(line_split[2])
    max_num = math.floor(B / A)
    if max_num > C:
        print(C)
    else:
        print(max_num)
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if b//a >= c:print(c)
else:print(b//a)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())


print(min(c, b//a))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if b // a >= c:
    print(c)
else :
    print(b // a)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
s = b // a
g = a * c
if b > g:
    print(c)
else:
    print(s)

Submission status: Accepted

Solution code:
a, b, c = [int(_) for _ in input().split(' ')]
print(min(c, b // a))

Submission status: Accepted

Solution code:
from sys import stdin
a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
if (b//a) > c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
a,b,c = list(map(int, input().split()))
print(min(int(b/a), c))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
cnt = 0

while (a <= b) and (cnt != c):
  b -= a
  cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
a, b, c = (int(i) for i in input().split())
if b//a >= c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
ans = 0
while B >= A:
    ans += 1
    B = B-A
print(min(ans,C))

Submission status: Accepted

Solution code:
a,b,c= map(int,input().split(" "))
if b//a>c:
  print(c)
else:
  print(b//a)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def main():
	A, B, C = map(int, input().split())
	if A * C <= B:
		print(C)
	else:
		print(int(B / A))

if __name__ == '__main__':
	main()

Submission status: Accepted

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

ans = 0
for i in range(C):
    if A*(C-i)<=B:
        ans = C-i
        break

print(ans)

Submission status: Accepted

Solution code:
a,b,c = (int(i) for i in input().split())
if a*c <= b:print(c)
else:print(b//a)

Submission status: Accepted

Solution code:
import sys
# import bisect
# import math
# import itertools
# import numpy as np


"""Template"""


class IP:
    """
    入力を取得するクラス
    """

    def __init__(self):
        self.input = sys.stdin.readline

    def I(self):
        """
        1文字の取得に使います
        :return: int
        """
        return int(self.input())

    def S(self):
        """
        1文字の取得(str
        :return: str
        """
        return self.input()

    def IL(self):
        """
        1行を空白で区切りリストにします(int
        :return: リスト
        """
        return list(map(int, self.input().split()))

    def SL(self):
        """
        1行の文字列を空白区切りでリストにします
        :return: リスト
        """
        return list(map(str, self.input().split()))

    def ILS(self, n):
        """
        1列丸々取得します(int
        :param n: 行数
        :return: リスト
        """
        return [int(self.input()) for _ in range(n)]

    def SLS(self, n):
        """
        1列丸々取得します（str
        :param n: 行数
        :return: リスト
        """
        return [self.input() for _ in range(n)]

    def SILS(self, n):
        """
        Some Int LineS
        横に複数、縦にも複数
        :param n: 行数
        :return: list
        """
        return [self.IL() for _ in range(n)]

    def SSLS(self, n):
        """
        Some String LineS
        :param n: 行数
        :return: list
        """
        return [self.SL() for _ in range(n)]


class Idea:
    def __init__(self):
        pass

    def HF(self, p):
        """
        Half enumeration
        半分全列挙です
        pの要素の和の組み合わせを作ります。
        ソート、重複削除行います
        :param p: list : 元となるリスト
        :return: list : 組み合わせられた和のリスト
        """
        return sorted(set(p[i] + p[j] for i in range(len(p)) for j in range(i, len(p))))

    def Bfs2(self, a):
        """
        bit_full_search2
        bit全探索の改良版
        全探索させたら2進数のリストと10進数のリストを返す
        :return: list２つ : １個目 2進数(16桁)  2個目 10進数
        """
        # 参考
        # https://blog.rossywhite.com/2018/08/06/bit-search/
        # https://atcoder.jp/contests/abc105/submissions/4088632
        value = []
        for i in range(1 << len(a)):
            output = []

            for j in range(len(a)):
                if self.bit_o(i, j):
                    """右からj+1番目のiが1かどうか判定"""
                    # output.append(a[j])
                    output.append(a[j])
            value.append([format(i, 'b').zfill(16), sum(output)])

        value.sort(key=lambda x: x[1])
        bin = [value[k][0] for k in range(len(value))]
        val = [value[k][1] for k in range(len(value))]
        return bin, val

    def S(self, s, r=0, m=-1):
        """
        ソート関係行います。色々な設定あります。
        :param s: 元となるリスト
        :param r: reversするかどうか 0=False 1=True
        :param m: （2次元配列）何番目のインデックスのソートなのか
        :return: None
        """
        r = bool(r)
        if m == -1:
            s.sort(reverse=r)
        else:
            s.sort(reverse=r, key=lambda x: x[m])

    def bit_n(self, a, b):
        """
        bit探索で使います。0以上のときにTrue出します
        自然数だからn
        :param a: int
        :param b: int
        :return: bool
        """
        return bool((a >> b & 1) > 0)

    def bit_o(self, a, b):
        """
        bit探索で使います。1のときにTrue出すよ
        oneで1
        :param a: int
        :param b: int
        :return: bool
        """
        return bool(((a >> b) & 1) == 1)

    def ceil(self, x, y):
        """
        Round up
        小数点切り上げ割り算
        :param x: int
        :param y: int
        :return: int
        """
        return -(-x // y)

    def ave(self, a):
        """
        平均を求めます
        :param a: list
        :return: int
        """
        return sum(a) / len(a)

    def gcd(self, x, y):
        if y == 0:
            return x
        else:
            return self.gcd(y, x % y)


"""ここからメインコード"""


def main():
    # 1文字に省略
    r, e = range, enumerate
    ip = IP()
    id = Idea()

    """この下から書いてね"""
    a, b, c = ip.IL()
    d = b // a
    print(min(c, d))



main()

Submission status: Accepted

Solution code:
A,B,C=map(int,raw_input().split())
print min(C,B/A)

Submission status: Accepted

Solution code:

a, b, c = map(int,input().split())

print( min(b//a,c) )

Submission status: Accepted

Solution code:
import sys
 
l = []
for line in sys.stdin:
  l.append([int(i) for i in line.split()])
 
a, b, c = l[0]
if b >= a * c:
  print(c)
else:
  print(b//a)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())

if a * c > b:
    print(int(b / a))
else:
    print(c)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
ans = 0
if B/A < C:
    print(int(B / A))
else:
    print(C)

Submission status: Accepted

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

if B >= A * C:
    print(C)
else:
    print(B // A)

Submission status: Accepted

Solution code:
A,B,C=map(int,input().split())
if B//A<=C:
    print(B//A)
else:
    print(C)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if b/a >= c:
	print(c)
else:
	print(int(b/a))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if b > a * c:
    print(c)
else:
    print(int(b / a))

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())
print(min(b / a, c))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split(' '))
if b / a > c:
  time = int(c)
else:
  time = int(b / a)
print (time)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if int(b / a) >= c:
    print(c)
else:
    print(int(b/a))

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))

print(b // a if b // a <= c else c)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
if b/a >= c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
ans=0
while ans<c:
  if b-a>=0:  
    ans+=1
    b-=a
  else:
    break
print(ans)

Submission status: Accepted

Solution code:
A, B, C = map(int,input().split())
if C >= B // A:
    print(B // A)
else:
    print(C)

Submission status: Accepted

Solution code:
a, b, c = [int(x) for x in input().split(" ")]

if b / a > c:
	print(c)
else:
	print(int(b/a))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split(" "))
print(min(b//a, c))

Submission status: Accepted

Solution code:
# 2019/03/03
# AtCoder Beginner Contest 120 - A

# Input
a, b, c = map(int,input().split())
cnt = int(b / a)

# Calc
if cnt > c:
    ans = c
else:
    ans = cnt

# Output
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split(" "))

if C <= B//A:
    print(C)
else:
    print(B//A)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split(' '))
print(c) if b/a >= c else print(int(b/a))

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split(' '))
num = int(B/A)
if num > C:
    print(C)
else:
    print(num)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
x=0
x=int(b/a)
if x<c:
    print(x)
else:
    print(c)

Submission status: Accepted

Solution code:
n = input().split()
A = int(n[0])
B = int(n[1])
C = int(n[2])

if C < B/A:
    print(str(C))
else:
    print(str(B//A))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if b >= a * c:
	print(c)
else:
	print(b // a)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
print(b//a if b//a <= c else c)

Submission status: Accepted

Solution code:
from sys import stdin

abc = [int(i) for i in stdin.readline().rstrip().split(" ")]

print(min(abc[1]//abc[0],abc[2]))

Submission status: Accepted

Solution code:
A,B,C=map(int,input().split())
count=0
ans=B//A
if ans>=C:
    print(C)
else:
    print(ans)

Submission status: Accepted

Solution code:
A, B,C = map(int,input().split())
cnt = 0
if int(B/A) < C:
  print(int(B/A))
else:
  print(C)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())

if b//a > c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split(" "))

if B//A > C:
  print(C)
else:
  print(B//A)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split(" "))

MaxSound = int(B/A)

if MaxSound >= C:
    ans = C
else:
    ans = MaxSound
    
print(ans)

Submission status: Accepted

Solution code:
X = X = [int(x) for x in input().split()]
if(int(X[1]/X[0])>X[2]):
    print(X[2])
else:
    print(int(X[1]/X[0]))

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())

if a*c>=b:
    print(b//a)
else:
    print(c)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if a * c <= b:
    print(c)
else:
    print(b // a)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
num = list(map(int, input().rstrip().split()))

if num[0]*num[2] <= num[1]:
    print(num[2])
    exit()
else:
    print(int(num[1]/num[0]))

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
# x = int(input())


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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if (int(b / a) > c):
    print(c)
else:
    print(int(b/a))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
if A * C <= B:
    print(C)
else:
    print(B // A)

Submission status: Accepted

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

if B // A > C:
    print(C)
else:
    print(B//A)

Submission status: Accepted

Solution code:
a,b,c = list(map(int,input().split(" ")))
o=0
for i in range(c):
    if(b >= a*(i+1)):
        o+=1

print(o)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
cnt = 0
while cnt < C and B >= A:
    B -= A
    cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split(" ")))

for i in range(c, -1, -1):
    if(a*i <= b):
        print(i)
        exit()

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
if C <= (B // A):
    print(C)
else:
    print(B // A)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Mar  3 20:59:27 2019

@author: doppe
"""
A, B, C = map(int, input().split())

num = int (B / A)

if (num > C):
    num = C

print(num)

Submission status: Accepted

Solution code:
L = list(map(int, input().split()))

if L[0] * L[2] <= L[1]:
    print(L[2])
elif L[0] * L[2] > L[1]:
    print(L[1]//L[0])

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
n = a[1] / a[0]
if n > a[2]:
    print(str(a[2]))
else:
    print(str(int(n)))

Submission status: Accepted

Solution code:
A,B,C = (int(x) for x in input().split())

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

Submission status: Accepted

Solution code:
A, B, C = map(int,input().split())
count = 0
while True:
  if B - A < 0 or count == C:
    break
  else:
    B -= A
    count += 1
print(count)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split(' '))
if b//a>=c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
a, b, c = map(int,input().split())

d = b //a

if d < c:
    print(d)
else:
    print(c)

Submission status: Accepted

Solution code:
A, B, C = [int(s) for s in input().split(' ')]
print(min(B//A, C))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if a * c < b:
    print(c)
else:
    print(int(b / a))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if b // a >= c:
	print(c)
else:
	print(b//a)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split(' '))
print(min(b//a, c))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
x = b // a
if x > c:
    print(c)
else:
    print(x)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
X = int(B//A)
if X > C:
	print(C)
else:
	print(X)

Submission status: Accepted

Solution code:
a,b,c=(int(i) for i in input().split())
print(min(b//a,c))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    A, B, C = [int(_) for _ in input().split()]
    
    print(min(C,int(B/A)))
    
main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on 2019/3/3
Solved on 2019/3/3
@author: shinjisu
"""


# ABC 120
# import math


def getInt(): return int(input())


def getIntList(): return [int(x) for x in input().split()]


def zeros(n): return [0]*n


def getIntLines(n): return [int(input()) for i in range(n)]


def getIntMat(n):
    mat = []
    for i in range(n):
        mat.append(getIntList())
    return mat


def zeros2(n, m): return [zeros(m)]*n


ALPHABET = [chr(i+ord('a')) for i in range(26)]
DIGIT = [chr(i+ord('0')) for i in range(10)]
N1097 = 10**9 + 7
INF = 10**12


def dmp(x, cmt=''):
    global debug
    if debug:
        if cmt != '':
            print(cmt, ':  ', end='')
        print(x)
    return x


def prob_A():
    A, B, C = getIntList()
    dmp((A, B, C))
    count = min(B // A, C)
    return count


debug = False  # True False
ans = prob_A()
print(ans)
#for row in ans:
#    print(row)


def prob_B():
    N = getInt()
    A = getIntList()
    dmp((N, A))
    return 123


def prob_C():
    N = getInt()
    A = getIntList()
    dmp((N, A))
    return 123


def prob_D():
    N = getInt()
    A = getIntList()
    dmp((N, A))
    return 123

Submission status: Accepted

Solution code:
cost, wallet , target = map(int, input().split())

t = wallet //cost

if t > target:
    print(target)

else:
    print(t)

Submission status: Accepted

Solution code:
#coding:utf-8
a,b,c = map(int,input().split())
print (min(b//a,c))

Submission status: Accepted

Solution code:
a,b,c = list(map(int, input().split()))

n = b//a
if n>c: n = c
print(n)

Submission status: Accepted

Solution code:
data = input().split()
A = int(data[0])
B = int(data[1])
C = int(data[2])

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
kaisuu = b // a
print(kaisuu if kaisuu < c else c)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())

if a * c < b:
    print(c)
else:
    print(int(b/a))

Submission status: Accepted

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

D = B//A
if D < C:
	print(D)
else:
	print(C)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
import math
if a * c <= b:
    print(c)
else:
    print(math.floor(b / a))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
cnt = 0

while b >= a:
    cnt += 1
    b -= a

print(min(cnt, c))

Submission status: Accepted

Solution code:
def readln():
    return list(map(int, input().split()))


A, B, C = readln()
if B // A > C:
    print(C)
else:
    print(B//A)

Submission status: Accepted

Solution code:
a,b,c=[int(s) for s in input().split()]

print(min(b//a,c))

Submission status: Accepted

Solution code:

# coding: utf-8

# In[8]:


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


# In[9]:


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

Submission status: Accepted

Solution code:
A,B,C=map(int,input().split())
maxnum=int(B/A)
if maxnum > C:
    print(C)
else:
    print(maxnum)

Submission status: Accepted

Solution code:
[like, money, max_like] = list(map(int, input().split(' ')))

num = money // like
if max_like <= num:
    print(max_like)
else:
    print(num)

Submission status: Accepted

Solution code:
import sys

def main(inp):
    a,b,c=map(int,next(inp).split())
    return min(int(b/a),c)
  
print(main(sys.stdin))

Submission status: Accepted

Solution code:
a, b, c = map(int , input().split())
print(int(min(c,b/a)))

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if a*c<b:
  print(c)
else:
  print(int(b/a))

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
d = b // a
if c > d:
    result = d
else:
    result = c
    
print(result)

Submission status: Accepted

Solution code:
a, b, c = [int(elem) for elem in input().split()]
res = int(b/a)
if c <= res:
    print(c)
else:
    print(res)

Submission status: Accepted

Solution code:
A, B, C=input().split()
X = int(int(B)/int(A))

if X > int(C):
    print(C)
else:
    print(X)

Submission status: Accepted

Solution code:
#ABC120A-FavoriteFood.py

from sys import stdin

input = stdin.readline

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

if B > A * C:
    print(C)
else:
    print(B // A)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
if B//A > C:
    print(C)
else:
    print(B//A)

Submission status: Accepted

Solution code:
#A
A, B, C = map(int, input().split())
n = 0
while n < C and B >= A:
    B -= A
    n += 1
print(n)

Submission status: Accepted

Solution code:
import collections
import itertools
import numpy as np
import sys
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

A,B,C = IL()

if B//A < C:
    print(B//A)
else:
    print(C)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if b//a>c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

def solve():
  if a * c <= b:
    return c
  else:
    return b//a
  
print(solve())

Submission status: Accepted

Solution code:
a,b,c = list(map(int, input().split()))
print(min(b//a, c))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

print(min(c, b // a))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Mar  3 19:52:08 2019

@author: Yamazaki Kenichi
"""

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

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

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())

x = b//a

if x <= c:
    print(x)
else:
    print(c)

Submission status: Accepted

Solution code:
a=list(map(int,input().split()))
A=a[0]
B=a[1]
C=a[2]
if B>=A*C:
  answer=C
else:
  answer=B//A
print(answer)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
ans = B//A
if ans > C:
    print(C)
else:
    print(ans)

Submission status: Accepted

Solution code:
A,B,C = [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
A,B,C=map(int, raw_input().split())
print min(B/A,C)

Submission status: Accepted

Solution code:
# coding: utf-8
a,b,c = map(int,input().split())
p = b//a
if c < p:
    print(c)
else:
    print(p)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

ans = b/a

print(int(min(ans,c)))

Submission status: Accepted

Solution code:
a,b,c=list(map(int,input().split(" ")))
a=b//a
print(min(a,c))

Submission status: Accepted

Solution code:
A, B, C = [int(s) for s in input().split(" ")]
print(C if B >= A*C else B // A)

Submission status: Accepted

Solution code:

a,b,c = map(int,input().strip().split())

ans = min(c,b//a)
print(ans)

Submission status: Accepted

Solution code:
# encoding:utf-8
import copy
import numpy as np
import random
import copy


a,b,c = map(int,input().split())

ans = 0
if a*c <= b:
    ans = c
else:
    ans = b//a

print(ans)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
if B >= A*C:
    print(C)
else:
    print(int(B / A))

Submission status: Accepted

Solution code:
A , B , C = map(int,input().split())
if B < A * C:
	print(B // A)
else:
	print(C)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if a*c <= b:
    print(c)
else:
    print(int(b/a))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

def main():
    sp = [int(e) for e in input().split(" ")]
    a = sp[0]
    b = sp[1]
    c = sp[2]

    if int(b/a) > c:
        print(c)
    else:
        print(int(b/a))

main()

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
if B // A < C:
    print(B // A)
else:
    print(C)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split(" "))
if B // A > C:
  print(C)
else:
  print(B//A)

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))

oto = b//a
if oto > c:
    print(c)
else:
    print(oto)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(b // a) if (b // a) < c else print(c)

Submission status: Accepted

Solution code:
A,B,C = list(map(int,input().split()))

times = min(C,int(B/A))

print(times)

Submission status: Accepted

Solution code:
A, B, C = [int(_) for _ in input().split()]
n = B // A
print(n if n < C else C)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
def solve():
    if(C < int(B/A)):
        return print(C)
    if(C >= int(B/A)):
        return print(int(B/A))
solve()

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())

if a*c <= b:
    print(c)
else:
    print(int(b/a))

Submission status: Accepted

Solution code:
def main():
    A, B, C = map(int, input().split())

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a, b, c = map(int, input().strip().split(' '))
print(min([int(b/a),c]))

Submission status: Accepted

Solution code:
A, B, C = map(int, raw_input().split())

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if b//a <= c:
    print(b//a)
else:
    print(c)

Submission status: Accepted

Solution code:
def main():
    A, B, C = map(int, input().split())
    print(min(B // A, C))


main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())

d = b // a

print(min(c, d))

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
d = b//a
print(min(d,c))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
x = (int) (b / a)
print("{}".format(min(x,c)))

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
sound = int(B / A)
if sound < C:
  print(sound)
else:
  print(C)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
if B > A * C:
    print(C)
else:
    print(B // A)

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))
n = b // a
if n > c:
    ans = c
else:
    ans = n
    
print(ans)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
mx = B // A
print(min(mx, C))

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())

if b//a <= c:
  ans = b//a
else:
  ans = c
  
print(ans)

Submission status: Accepted

Solution code:
A,B,C = list(map(int,input().split()))
max_count = B//A
print(min(max_count,C))

Submission status: Accepted

Solution code:
multi_input = lambda dtype: list(map(dtype,input().split()))
(A,B,C) = multi_input(int)
print(min(B//A,C))

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
t=b//a
print(t if t<c else c)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
ans = 0
for i in range(c):
    if b >= a:
        ans += 1
        b -= a
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if int(b / a) > c:
    print(c)
else:
    print(int(b / a))

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if b/a>c:
  print(c)
else:
  print(int(b/a))

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))
if b >= a*c:
  print(c)
else:
  print(b//a)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(b // a if a * c > b else c)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if a*c<=b:
  print(c)
else:
  print(int(b/a))

Submission status: Accepted

Solution code:
A, B, C = list(map(int, input().split()))

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

Submission status: Accepted

Solution code:
import sys

a = list(map(int, input().split()))

M = a[1] // a[0]

if M > a[2]:
  print(a[2])
else:
  print(M)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())

ans = b // a

if ans > c:
    print(c)
else:
    print(ans)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
print(b//a if b//a < c else c)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().rstrip().split(' '))
v = int(B / A)
if C < v:
    v = C

print(v)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
if b//a>=c:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
temp =B//A
print(min(temp,C))

Submission status: Accepted

Solution code:
p = input().split()
print(min(int(p[1]) // int(p[0]), int(p[2])))

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))

n = b // a
if n >= c:
    ans = c
else:
    ans = n
print(ans)