Changing Case

Lab Python Beginner 10 points

Read a line and print it in UPPER case, lower case, Title Case and with the case swapped — four lines.

Input

One line.

Output

Four lines.

Example

Input

hello World

Output

HELLO WORLD
hello world
Hello World
HELLO wORLD
Sample input available Sample output available
Editor
Python

Hints

Strings have methods: s.upper(), s.lower(), s.title(), s.swapcase().

Solution explanation

Strings are immutable: these methods return new strings and leave the original unchanged.

Show solution
s = input()
print(s.upper())
print(s.lower())
print(s.title())
print(s.swapcase())
Output
Answer
HOME LEARN COMMUNITY DASHBOARD