Submit solution

Points:
3

Time limit:
2.0s

Memory limit:
64M

Author:

Problem type

Allowed languages

Ada, Assembly, Awk, Brain****, C, C#, C++, COBOL, ~~CommonLisp~~, D, Dart, F#, Forth, Fortran, Go, ~~Groovy~~, Haskell, Intercal, Java, JS, Kotlin, Lisp, Lua, ~~Nim~~, ~~ObjC~~, OCaml, ~~Octave~~, Pascal, Perl, PHP, Pike, Prolog, Python, Racket, Ruby, Rust, Scala, Scheme, Sed, Swift, TCL, Text, Turing, VB, Zig

Mimi is playing her favourite video game, Enur Yrotcaf 4.

In this game, you own an field, and can water an square of plants at the cost of EP (Enur Points).

Given that Mimi has EP, what is the largest square of plants that she can water?

#### Constraints

#### Input Specification

The only line of input will have 3 space-separated integers, , and .

#### Output Specification

The largest less than or equal to such that Mimi can water a field of size or if she cannot water any field.

#### Sample Input 1

`5 3 6`

#### Sample Output 1

`2`

#### Sample Input 2

`5 3 30`

#### Sample Output 2

`5`

## Comments

Enur Yrotcaf 4 is basically 4 Factory Rune which is basically Factory Rune 4