#!/usr/bin/python # -*- coding: UTF-8 -*- str1=raw_input() if str1>='A' and str1<='Z': str2=chr(ord(str1)+32) elif str1>='a' and str1<='z': str2=str1 print str2