PRF04STRING03 - String - rTrim

no tags 

Create a program that allows user to enter a text, then removes whitespace from the right side of a string and print it out.

Input

text                  

Output

text

Example 1

Input:
Lap trinh can ban C             

Output:
Lap trinh can ban C

Example 2

Input:
Information Technology          

Output:
Information Technology

Example 3

Input:
Cong nghe thong tin            

Output:
Cong nghe thong tin


Added by:khanhvh
Date:2020-11-04
Time limit:1s-10s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All