#T538. 分离整数的各个数

分离整数的各个数

Description

Given an integer n (1 ≤ n ≤ 100000000), separate each of its digits starting from the units place. Output each digit in order from the lowest to the highest place value, starting from the units place.

Input Format

Input an integer between 1 and 100000000.

Output Format

Output each digit in order from the lowest to the highest place value, starting from the units place. Separate the digits with a single space.

123
3 2 1

来源

CodesOnline