From string to a number

Report a typo

Write a program that reads a string from the standard input and outputs the number. A number can be from 1 to 9 (inclusive).

Sample Input 1:

one

Sample Output 1:

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

Create a free account to access the full topic