#K79347. Extract House Number
Extract House Number
Extract House Number
You are given a single string representing a street name immediately followed by a house number. The house number is guaranteed to consist solely of digits and appears only at the end of the string. Your task is to extract and output the house number.
For example, if the input is MapleStreet456
, you should output 456
.
Note: The input will be read from standard input (stdin) and the result must be printed to standard output (stdout).
inputFormat
The input consists of a single line containing an alphanumeric string where trailing digits represent the house number. There will be no spaces in the input string.
outputFormat
Output the extracted house number as an integer to standard output.
## sampleMapleStreet456
456