String manipulation is something done very commonly with programming. In fact, some programming languages are designed to make string manipulation easier to perform. Perl, for example, is generally accepted as a good language to do string manipulation in.
In this problem, you will read in a string a separate the capitals from the lowercase letters.
Input
Input will contain a string on one line. You may assume the string will contain at most 1,000 characters.
Output
Output will be all the capital letters that appears in the input, in the order that they appear, followed by all the lowercase letters that appears in the input, also in the order that they appear in. You should ignore any other characters.
Sample Input 1
this is: Sample Input.
Sample Output 1
SIthisisamplenput