112A – Petya and Strings : Codeforces Solution

A. Petya and Strings time limit per test:2 secondsmemory limit per test:256 megabytesinput/output :standard input /standard output Little Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase and lowercase Latin letters. Now Petya wants to compare those two strings lexicographically. The letters’ case does not matter, that is an uppercase letter is considered equivalent to the corresponding lowercase letter. Help Petya perform the comparison. InputEach of the first two lines contains a bought string. The strings’ lengths range…