#P321. 练54.4 整数ABC
练54.4 整数ABC
Description
Given three positive integers, where the smallest is , the next is , and the largest is . Now, you are given a string of length 3. Please output the three integers in the order specified by .
Input Format
The first line contains three integers separated by spaces, each in the range [, ].
The second line contains a string of length 3, consisting of the characters '', '', and '', each appearing exactly once.
Output Format
Output the three integers in the order specified by , separated by spaces.
Sample
6 4 2
CAB6 2 4