Is there an element?

Report a typo

You have two strings from standard input: the first one is a sequence of numbers, and the second is one number. Create a number list from the first string and return the element with the index equal to the number from the second string. Return null if there isn't such an element in the list.

Sample Input 1:

12 34 76758 56765 3432 2352 467567 235423 234 231 9757
13

Sample Output 1:

null
Write a program in Kotlin
fun main() {
// Write your code here
}
___

Create a free account to access the full topic