Problem:


Score : 100 points

Problem Statement

You are given three words s_1, s_2 and s_3, each composed of lowercase English letters, with spaces in between.
Print the acronym formed from the uppercased initial letters of the words.

Constraints

s_1, s_2 and s_3 are composed of lowercase English letters.

1 ≤ |s_i| ≤ 10 (1≤i≤3)

Input

Input is given from Standard Input in the following format:

s_1 s_2 s_3

Output

Print the answer.

Sample Input 1

atcoder beginner contest

Sample Output 1

ABC

The initial letters of atcoder, beginner and contest are a, b and c. Uppercase and concatenate them to obtain ABC.

Sample Input 2

resident register number

Sample Output 2

RRN

Sample Input 3

k nearest neighbor

Sample Output 3

KNN

Sample Input 4

async layered coding

Sample Output 4

ALC



Sample input:
atcoder beginner contest


Sample output:
ABC

Submission status: Runtime Error

Solution code:
n = [int(i) for i in input().split()]
a = [int(i) for i in input().split()]

total = 0
fugo = 0
count = 0

for i in a:
    total += i

    if(fugo == 0):
        total = i
        if(total > 0):
            fugo = 1
        else:
            fugo = -1
        continue
    elif(fugo > 0):
        fugo = -1
        if(total >= 0):
            while(total>=0):
                count += 1
                total -= 1
    elif(fugo < 0):
        fugo = 1
        if(total <= 0):
            while(total<=0):
                count += 1
                total += 1

print(count)

Submission status: Runtime Error

Solution code:
if __name__ == '__main__':

    N = input()
    array = raw_input().split()

    ans = 0
    total = int(array[0])

    totalZero = False
    if total == 0:
        totalZero = True
    
    
    flag = False
    if total >= 0:
        flag = True
        
    for a in array[1:]:

        if totalZero == True:
            ans += 1
            if a > 0:
                total = -1
                flag = False
            else:
                total = 1
                flag = True
            totalZero = False
            
        total += int(a)
        
        if total > 0 and flag == True:
            ans += total + 1
            total = -1
                
        elif total < 0 and flag ==False:
            ans += -1 * total + 1
            total = 1
                          
        elif total == 0:
            totalZero = True

        if total > 0:
            flag = True
        elif total < 0:
            flag = False

        
    if totalZero == True:
        ans += 1

    print ans

Submission status: Runtime Error

Solution code:
s1 = input()
s2 = input()
s3 = input()

print (s1[0].upper() + s2[0].upper() + s3[0].upper())

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
if a>b:
 print("GREATER")
elif a==b:
 print("EQUAL")
else:
 print("LESS")

Submission status: Runtime Error

Solution code:
s1 = int(raw_input())
s2 = int(raw_input())
if s1>s2:
    print "GREATER"
elif s1 == s2:
    print "EQUAL"
else:
    print "LESS"

Submission status: Runtime Error

Solution code:
a,b,c = input().split()
re = a[0].upper() + b[0].upper() + c[0].upper()
print re

Submission status: Runtime Error

Solution code:
strs = input()
strs = strs.split()
print strs[0][0].upper() + strs[1][0].upper() + strs[2][0].upper()

Submission status: Runtime Error

Solution code:
input = input()
input = input.strip()
input = input.split(" ")
result = ""
for i in input:
    result += i[0].upper()
return result

Submission status: Runtime Error

Solution code:
import sys
if __name__ == "__main__":
    input = sys.stdin.readline()
    input = input.strip()
    input = input.split(" ")
    result = ""
    for i in input:
        result += i[0].upper()
    return result

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline()
input = input.strip()
input = input.split(" ")
result = ""
for i in input:
    result += i[0].upper()
return result

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline()
input = input.srip()
input = input.split(" ")
result = ""
for i in input:
    result += i[0].upper
return result

Submission status: Runtime Error

Solution code:
line = raw_input("Enter text:")
words = line.split()
letters = [word[0] for word in words]
print("".join(letters))

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
"""
"""

line= raw_input(" ")
words=line.split()
letters=[word[0]for word in words]
print ("".join(letters))

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Thu May 11 06:23:42 2017

@author: fujis
"""

line= raw_input(" ")
words=line.split()
letters=[word[0]for word in words]
print ("".join(letters))

Submission status: Runtime Error

Solution code:
line=raw_input("")
words=line.split()
letters=[word[0]for word in words]
print ("".join(letters))

Submission status: Runtime Error

Solution code:
line= raw_input(" ")
words=line.split()
letters=[word[0]for word in words]
print ("".join(letters))

Submission status: Runtime Error

Solution code:
print raw_input()[0]+raw_input()[0]+raw_input()[0]

Submission status: Runtime Error

Solution code:
import sys
x, y = map(int, sys.stdin.readlines())
if x > y:
    print("GREATER")
elif x == y:
    print("EQUAL")
else:
    print("LESS")

Submission status: Runtime Error

Solution code:
a = map(str,raw_input().split())
#a = int(raw_input())

print a[0][0].upper + a[1][0].upper + a[2][0].upper

Submission status: Runtime Error

Solution code:
# coding: utf-8
print map(str, [x[0] for x in map(str, raw_input().split())]).upper()

Submission status: Runtime Error

Solution code:
A=int(raw_input())
B=int(raw_input())
if (A>B):
 print('GREATER')
elif(A==B):
 print('EQUAL')
else:
 print('LESS')

Submission status: Runtime Error

Solution code:
A=int(raw_input())
B=int(raw_input())
if (A>B):
 print('GREATER')
elif(A==B):
 print('EQUAL')
else:
 print('LESS')
#print((s1[0]+s2[0]+s3[0]).upper())

Submission status: Runtime Error

Solution code:
import math
import sys

x,y=[int(i) for i in input().split()]

if x > y:
    print("GREATER")
elif x == y:
    print("EQUAL")
else:
    print("LESS")

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8 -*-

n = int(raw_input())
numlist = (raw_input()).split(' ')

sumlist = [int(numlist[0])]
count = 0

for i in range(1, n):
  sumlist.append(sumlist[i-1] + int(numlist[i]))
  while (True):
    if (sumlist[i-1] > 0 and sumlist[i] > 1):  #i-1,i番目までのsumがともに正
      numlist[i] = int(numlist[i]) - 1
      sumlist[i] -= 1
      count += 1
    elif (sumlist[i-1] < 0 and sumlist[i] < 0):  #i-1,i番目までのsumがともに負
      numlist[i] = int(numlist[i]) + 1
      sumlist[i] += 1
      count += 1
    elif (sumlist[i] == 0):  #i番目までのsum=0
      if (sumlist[i-1] > 0):
        numlist[i] = int(numlist[i]) - 1
        sumlist[i] -= 1
      if (sumlist[i-1] < 0):
        numlist[i] = int(numlist[i]) + 1
        sumlist[i] += 1
      count += 1
    else:
      break

print count

Submission status: Runtime Error

Solution code:
print(''.join([ s[0].upper for s in input().split()]))

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8 -*-

sA = raw_input()
sB = raw_input()

A = int(sA)
B = int(sB)

if (A > B):
  print 'GREATER'
elif (A < B):
  print 'LESS'
else:
  print 'EQUAL'

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

A = input()
B = input()
if len(A) > len(B):
    print('GREATER')
elif len(A) < len(B):
    print('LESS')
else:
    if A > B:
        print('GREATER')
    elif A < B:
        print('LESS')
    else:
        print('EQUAL')

Submission status: Runtime Error

Solution code:
A = input()
B = input()
if len(A) == len(B):
    if A > B:
        print('GREATER')
    else:
        print('LESS')
elif len(A) > len(B):
    print('GREATER')
else:
    print('LESS')

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
if a==b: print('EQUAL')
elif a>b: print('GREATER')
else: print('LESS')

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
 
if a == b:
 print("EQUEAL")
elif a > b:
 print("GREATER")
else:
 print("LESS")

Submission status: Runtime Error

Solution code:
a = input()
b = input()

if a == b:
 print("EQUEAL")
elif a > b:
 print("GREATER")
else:
 print("LESS")

Submission status: Runtime Error

Solution code:
x, y = map(int, input().split())
if abs(x-y)<=1:
    print("Brown")
else:
    print("Alice")

Submission status: Runtime Error

Solution code:
n = int(input())
i = input()

i = i.split()
for item in range(len(i)):
    i[item] = int(i[item])

totn = 0
totp = 0

countp = 0
countn = 0

for x in range(len(i)):
    totp += i[x]
    totn += i[x]

    if x %2 == 1:
        if totn == 0:
            countn += 1
            totn = 1
        elif totn < 0:
            countn += abs(totn) + 1
            totn = 1

        if totp == 0:
            countp += 1
            totp = -1
        elif totp > 0:
            countp += abs(totp) + 1
            totp = -1

    if x %2 == 0:
        if totn == 0:
            countn += 1
            totn = -1
        elif totn > 0:
            countn += abs(totn) + 1
            totn = -1

        if totp == 0:
            countp += 1
            totp = 1
        elif totp < 0:
            countp += abs(totp) + 1
            totp = 1
count = min(countn, countp)
print(count)

Submission status: Runtime Error

Solution code:
a = int(raw_input())
b = int(raw_input())
if a > b:
	print "GREATER"
elif a < b:
	print "LESS"
else:
	print "EQUAL"

Submission status: Runtime Error

Solution code:
a=int(input());b=int(input());print('EQUAL' if a==b else 'GREATER' if a>b else 'LESS')

Submission status: Runtime Error

Solution code:
import itertools

def sign(num):
    if num < 0:
        return -1
    elif num > 0:
        return 1
    else:
        return 0

N = input()
a_i = list(map(int, input().split()))

signs = [-1,1]
a_sum = 0
changes_1 = 0
for i, a in enumerate(a_i):
    a_sum += a
    if sign(a_sum) != signs[i%2]:
        changes_1 += abs(a_sum) + 1
        a_sum = signs[i%2]

signs = [1,-1]
a_sum = 0
changes_2 = 0
for i, a in enumerate(a_i):
    a_sum += a
    if sign(a_sum) != signs[i%2]:
        changes_2 += abs(a_sum) + 1
        a_sum = signs[i%2]

print(min(changes_1,changes_2))

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())
if A>B:
    print('GREATER')
elif A<B:
    print('LESS')
else:
    print('EQUAL')

Submission status: Runtime Error

Solution code:
import itertools

def sign(num):
    if num < 0:
        return -1
    elif num > 0:
        return 1
    else:
        return 0

N = input()
a_i = list(map(int, input().split()))

# a_sum = [a_i[0]]
# for i, a in enumerate(a_i[1:]):
#     i += 1
#     a_sum.append(a_sum[-1]+a)
#
# signs = [1, -1]
# changes = 0
#
# for i, sum_i in enumerate(a_sum):
#     if sum_i != 0:
#         signs[i%2] = sign(sum_i)
#         signs[i%2+1] = -sign(sum_i)
#         break

signs = [sign(a_i[0]), -sign(a_i[0])]

a_sum = 0
changes = 0
for i, a in enumerate(a_i):
    a_sum += a
    if sign(a_sum) != signs[i%2]:
        changes += abs(a_sum) + 1
        a_sum = signs[i%2]
print(changes)

#
# for i, sum_i in enumerate(a_sum):
#     if i == 0:
#         signs = [sign(sum_i), -sign(sum_i)]
#     elif sign(sum_i) != signs[i%2]:
#         a_sum[i:] = [num + (abs(sum_i) + 1) * signs[i%2] for num in a_sum[i:]]
#         changes += abs(sum_i) + 1
#     # print(a_sum)
# print(changes)

Submission status: Runtime Error

Solution code:
def alice(x, y):
    return turn(x, y)

def brown(x, y):
    return turn(x, y)

def turn(x, y):
    a = 0
    if x < y or x == y:
        a = y / 2
        y = y - a * 2
        x = x + a
    else:
        a = x / 2
        x = x - a * 2
        y = y + a
    if a == 0:
        return [False, x, y]
    return [True, x, y]

nums = input().split(" ")
x = int(nums[0])
y = int(nums[1])
while True:
    result, x, y = alice(x, y)
    if result == False:
        print('Brown')
        break
    result, x, y = brown(x, y)
    if result == False:
        print('Alice')
        break

Submission status: Runtime Error

Solution code:
l = raw_input().split().title()
char = [i[0] for i in l]
changeChar = ','.join(char)
print(changeChar.replace(',','',100))

Submission status: Runtime Error

Solution code:
    args = raw_input()
    headChar = [i[0].title() for i in args]
    changeChar = ','.join(headChar)
    print(changeChar.replace(',','',100))

Submission status: Runtime Error

Solution code:
x, y = input().split(" ")
while():
    if alice() == False:
        print('Brown')
        break
    if brown() == False:
        print('Alice')
        break


def turn():
    a = 0
    if x < y or x == y:
        a = y / 2
        y = y - a * 2
        x = x + a
    else:
        a = x / 2
        y = x - a * 2
        x = y + a
    if a == 0:
        return False
    return True

def alice():
    return turn()

def brown():
    return turn()

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
# problem B

a = int(input())
b = int(input())

def comp(a, b):
    if a < b:
        print("LESS")
    elif a < b:
        print("GREATER")
    else:
        print("EQUAL")

comp(a, b)

Submission status: Runtime Error

Solution code:
a,b,c=map(input().split())

a=a[0].upper()
b=b[0].upper()
c=c[0].upper()

print(a+b+c)

Submission status: Runtime Error

Solution code:
def c(ints):
    
    for i in range(len(ints)):
        if ints[i] != 0:
            sig = 1 if ints[i] > 0 else -1
            total = ints[i]
            mov = i + 1
            j = i
            break
        if i == len(ints) - 1:
            return i + 1
    
    for i_ in ints[j+1:]:
        tmp = total + i_
        if tmp == 0:
            mov +=1
            tmp = -sig
            
        elif sig * tmp > 0:
            mov += abs(tmp) + 1
            tmp = -sig
            
        sig *= -1
        total = tmp
        
    return mov

_ = input()
inp = input()
inp = inp.split(' ')
inp = [int(i_) for i_ in inp]
print(c(inp))

Submission status: Runtime Error

Solution code:
a=(input())
b=(input())

a=int(a)
b=int(b)

if a>b:
    print ('GREATER')

elif a<b:
    print ('LESS')

else:
    print ('EQUAL')

Submission status: Runtime Error

Solution code:
a=int(raw_input())
b=int(raw_input())

if a>b:
    print "GREATER"
elif a<b:
    print "LESS"
else:
    print "EQUAL"

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

if a > b:
    print('GREATER')
elif b > a:
    print('LESS')
else:
    print('EQUAL')

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
if a == b:
    print ("EQUAL")
elif a > b:
    print ("GREATER")
else:
    print ("LESS")

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

if a > b:
    print("GREATER")
elif a < b:
    print("LESS")
else:
    print("EQUAL")

Submission status: Runtime Error

Solution code:
a, b, c = input().split()
d = ""
d += a.upper()[0]
d += b.upper()[0] j
d += c.upper()[0]
print(d)

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())

if A > B:
    print("GREATER")
elif A < B:
    print("LESS")
else:
    print("EQUAL")

Submission status: Runtime Error

Solution code:
a, b, c = input().split()

res = "".join([a[0].upper(), b[0].upper(), c[0].upper()])
print(res