National assembly

Report a typo

In a country far, far away, elections to the National Assembly are coming up. This country has one specific feature: the population grows very fast every year.

You need to write a program which calculates how many people will be selected to the National Assembly in the current elections. The country uses the cube root relationship between the population and the assembly size.

The input data of the program is an integer value describing the current population of the country. The output is the recommended size of the National Assembly.

Sample Input 1:

1000000

Sample Output 1:

100
Write a program in Kotlin
import kotlin.math.*

fun main() {
// write your code here
}
___

Create a free account to access the full topic