#K. C++-字符串-提取整数(只打印数字)

    Type: Default 1000ms 256MiB

C++-字符串-提取整数(只打印数字)

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

把字符串里的所有数字找出来并打印。

image

Format

Input

Output

Samples

adsf89adfa90zxy1a0af5aatc10
8
9
9
0
1
0
5
1
0
uoiaadsf12adfadsf9asdfa8aa
1
2
9
8
3chm8bvx7sdl
3
8
7

Limitation

1s, 1024KiB for each test case.