#!/usr/bin/python
name = " Abhishek \t Pradhan  "

print(":"+name+":")
print(":"+name.lstrip()+":")
print(":"+name.rstrip()+":")
print(":"+name.strip()+":")

name = " Abhishek \n Pradhan  "

print(":"+name+":")
print(":"+name.lstrip()+":")
print(":"+name.rstrip()+":")
print(":"+name.strip()+":")