AtCoder Beginner Contest 059 - Three-letter acronym

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-----
atcoder beginner contest

-----Sample Output-----
ABC

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

Difficulty: EASY

Starter code:

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


(a, b, c) = input().split()
l = a[0] + b[0] + c[0]
print(l.upper())


print(''.join([_[0].upper() for _ in input().split()]))


(s1, s2, s3) = input().upper().split()
print(s1[0] + s2[0] + s3[0])


a = input().split()
for i in a:
	print(i[0].upper(), end='')


(a, b, c) = input().upper().split()
print(a[:1] + b[:1] + c[:1])


s = input().split()
print(f'{s[0][0]}{s[1][0]}{s[2][0]}'.upper())


(a, b, c) = input().split()
d = a[0] + b[0] + c[0]
print(str.upper(d))


l = input().upper().split()
print(l[0][0] + l[1][0] + l[2][0])


print(str.upper(''.join(map(lambda x: x[0], input().split()))))


(a, b, c) = list(input().split())
s = a[0] + b[0] + c[0]
print(s.upper())


(s1, s2, s3) = map(str, input().split())
print(s1[0].upper() + s2[0].upper() + s3[0].upper())


(A, B, C) = input().split()
print((A[0] + B[0] + C[0]).upper())


c = input().split()
print((c[0][0] + c[1][0] + c[2][0]).upper())


def generate_acronym(l1: list) -> str:
	answer = ''
	for word in l1:
		answer += word[0].upper()
	return answer
lists = list(map(str, input().split()))
print(generate_acronym(lists))


print(''.join([x[0] for x in input().split()]).upper())


S = input().upper().split()
print(S[0][0] + S[1][0] + S[2][0])


s = list(input().split())
print((s[0][0] + s[1][0] + s[2][0]).upper())


(a, b, c) = input().split()
X = a[0] + b[0] + c[0]
print(X.upper())


print(''.join([i[0] for i in input().split()]).upper())


words = str(input()).upper()
words_list = words.split(' ')
print(words_list[0][0] + words_list[1][0] + words_list[2][0])


(S1, S2, S3) = map(str, input().split())
list_join = S1[0] + S2[0] + S3[0]
print(list_join.upper())


(a, b, c) = map(str, input().split())
t = a[0] + b[0] + c[0]
print(t.upper())


print(''.join(list(map(lambda x: x[0], input().split()))).upper())


(a, b, c) = map(str, input().split())
s = (a[0] + b[0] + c[0]).upper()
print(s)


for a in list(input().split()):
	print(a[0].upper(), end='')


(a, b, c) = [i.upper() for i in input().split()]
print(a[0] + b[0] + c[0])


(a, b, c) = input().split()
v = a[0] + b[0] + c[0]
print(v.upper())


(a, b, c) = list(map(str, input().split()))
a = a.upper()
b = b.upper()
c = c.upper()
print(a[0] + b[0] + c[0])


S = list(map(str, input().split()))
s1 = S[0][0].upper()
s2 = S[1][0].upper()
s3 = S[2][0].upper()
print(s1 + s2 + s3)


print(*[x[0].swapcase() for x in input().split()], sep='')


S = input().split()
for s in S:
	print(s[0].upper(), end='')


(a, b, c) = input().split()
x = a[0] + b[0] + c[0]
print(str.upper(x))


(a, b, c) = input().split()
k = a[0] + b[0] + c[0]
print(k.upper())


print(''.join([s.capitalize()[0] for s in input().split(' ')]))


(s, t, u) = input().split()
print((s[0] + t[0] + u[0]).upper())


print(*[a[0] for a in input().upper().split()], sep='')


s = list(input().split())
s1 = s[0]
s2 = s[1]
s3 = s[2]
print((s1[0] + s2[0] + s3[0]).upper())


import sys
input = lambda : sys.stdin.readline().rstrip()

def main():
	words = list(input().split())
	print((words[0][0] + words[1][0] + words[2][0]).upper())

def __starting_point():
	main()
__starting_point()


print(''.join([i[0].capitalize() for i in input().split()]))


m = input()
m = m.upper()
(a, b, c) = m.split()
print(a[0] + b[0] + c[0])


print(''.join((c[0].upper() for c in input().split())))


S_list = list(input().split())
S = [i[0] for i in S_list]
print(''.join(S).upper())


(x, y, z) = input().split()
a = (x[0] + y[0] + z[0]).upper()
print(a)


print(''.join([e[0].upper() for e in input().split()]))


s = input().split()
for c in s:
	print(c[0].upper(), end='')


(n, m, l) = input().split()
print(n[0].upper() + m[0].upper() + l[0].upper())


r = ''
for s in str(input()).upper().split(' '):
	r += s[0]
print(r)


s = input().split()
t = s[0][0] + s[1][0] + s[2][0]
print(t.upper())


(s1, s2, s3) = [x[0].upper() for x in input().split()]
print(s1 + s2 + s3)


(x, y, z) = input().split()
ans = x[0] + y[0] + z[0]
print(ans.upper())


def abc059a(s1: str, s2: str, s3: str) -> str:
	return s1[0].upper() + s2[0].upper() + s3[0].upper()
(s1, s2, s3) = list(map(str, input().split()))
print(abc059a(s1, s2, s3))


print(''.join([item[0].upper() for item in input().split()]))


(a, b, c) = map(str, input().split())
S = a[0] + b[0] + c[0]
print(S.upper())


a = input().split()
print(a[0][0].upper() + a[1][0].upper() + a[2][0].upper())


(a, b, c) = list(map(str, input().split()))

def answer(a: str, b: str, c: str) -> str:
	return (a[0] + b[0] + c[0]).upper()
print(answer(a, b, c))


a = input().split()
b = [c[0] for c in a]
d = ''.join(b)
print(d.upper())


(a, b, c) = input().split()
n = a[0] + b[0] + c[0]
print(n.upper())


print(*map(lambda x: x[0].upper(), input().split()), sep='')


s = input().split()
str = s[0][:1] + s[1][:1] + s[2][:1]
print(str.upper())


(a, b, c) = input().split()
print(str.swapcase(a[0] + b[0] + c[0]))


(a, b, c) = input().split()
ans = a[0] + b[0] + c[0]
A = ans.upper()
print(A)


w = input().split()
a = ''
for i in w:
	a += i.upper()[0]
print(a)


S = list(input().split())
for i in range(3):
	S[i] = S[i].upper()
print(S[0][0] + S[1][0] + S[2][0])


(S, T, U) = input().split()
print(S[0].upper() + T[0].upper() + U[0].upper())


print(''.join([x[0].title() for x in input().split()]))


print(''.join([chr(ord(i[0]) - 32) for i in input().split()]))


s = [x for x in input().split()]
print(s[0][0].upper() + s[1][0].upper() + s[2][0].upper())


s = list(input().split())
ans = ''
for i in s:
	ans += i[0].upper()
print(ans)


def atc_059a(input_value: str) -> str:
	S = input_value.split(' ')
	SSS = S[0][0].upper() + S[1][0].upper() + S[2][0].upper()
	return SSS
input_value = input()
print(atc_059a(input_value))


(a, b, c) = list(input().split())
A = a[0] + b[0] + c[0]
print(A.upper())


def answer(s: str) -> str:
	return ''.join((s[0].upper() for s in s.split()))

def main():
	s = input()
	print(answer(s))

def __starting_point():
	main()
__starting_point()


s = ''
for x in input().split():
	s += x[0]
print(s.upper())


(a, b, c) = map(str, input().split())
word = a[0] + b[0] + c[0]
print(word.upper())


(ina, inb, inc) = input().split()
print((ina[0] + inb[0] + inc[0]).upper())


print(''.join(map(lambda s: s[0], input().split())).upper())


strlist = list(map(str, input().split()))
lnum = len(strlist)
head = ''
for cnt in range(0, lnum, 1):
	head = head + strlist[cnt][:1]
print(head.upper())


print(''.join([a[0] for a in input().upper().split()]))


(a, b, c) = input().split()
(a, b, c) = (a.capitalize(), b.capitalize(), c.capitalize())
print(a[0] + b[0] + c[0])


(a, b, v) = input().split()
s = a[0] + b[0] + v[0]
print(s.upper())


print(''.join((w[0].upper() for w in input().split())))


(a, b, c) = input().split()
komoji = a[0] + b[0] + c[0]
print(komoji.upper())


(s1, s2, s3) = list(map(list, input().split()))
abbreviation = s1[0] + s2[0] + s3[0]
print(abbreviation.upper())


(a, b, c) = input().split()
res = a[0] + b[0] + c[0]
print(res.upper())


s = input().split()
x = s[0][0] + s[1][0] + s[2][0]
print(x.upper())


n = [m[0].upper() for m in input().split()]
print(''.join(n))


(s1, s2, s3) = input().split()
ans = str(chr(ord(s1[0]) - 32) + chr(ord(s2[0]) - 32) + chr(ord(s3[0]) - 32))
print(ans)


s = input().split()
o = s[0][0] + s[1][0] + s[2][0]
print(o.upper())


(a, b, c) = [x[0].upper() for x in input().split()]
print(a + b + c)


(s1, s2, s3) = list(map(str, input().split(maxsplit=3)))
answer = s1[0].upper() + s2[0].upper() + s3[0].upper()
print(answer)


def iroha():
	(a, b, c) = input().split()
	shead = a[0].upper()
	sshead = b[0].upper()
	ssshead = c[0].upper()
	print(shead + sshead + ssshead)

def __starting_point():
	iroha()
__starting_point()


(a, b, c) = map(lambda x: x.upper(), input().split())
print(a[0] + b[0] + c[0])


n = input().split()
print((n[0][0] + n[1][0] + n[2][0]).upper())


s = input().split()
for i in s:
	print(i[0].upper(), end='')


S = list(input().split())
print(''.join([s[0] for s in S]).upper())


(s, b, c) = input().upper().split()
print(s[0] + b[0] + c[0])


(a, b, c) = input().upper().split()
print(''.join([a[0], b[0], c[0]]))


(s1, s2, s3) = list(map(str, input().split()))
s_list = [s1[0], s2[0], s3[0]]
s = ''.join(s_list)
ss = s.upper()
print(ss)


Tre_words = input().split()
s1 = Tre_words[0].title()
s2 = Tre_words[1].title()
s3 = Tre_words[2].title()
A = list(s1)
B = list(s2)
C = list(s3)
print(A[0] + B[0] + C[0])


(s1, s2, s3) = input().split()
short = str.upper(s1[0] + s2[0] + s3[0])
print(short)


print(*map(lambda s: s[0].upper(), input().split()), sep='')


(a, b, c) = input().split()
aa = (a[0] + b[0] + c[0]).upper()
print(aa)


ls = input().upper().split()
print(ls[0][0] + ls[1][0] + ls[2][0])


print(''.join([chr(ord(s[0]) - 32) for s in input().split()]))


(x, y, z) = input().split()
print((x[:1] + y[:1] + z[:1]).upper())


(S1, S2, S3) = map(str, input().split())
string = str.upper(S1[0] + S2[0] + S3[0])
print(string)


(s1, s2, s3) = input().split()
s = s1[0] + s2[0] + s3[0]
S = s.upper()
print(S)


s = list(map(str, input().upper().split()))
print(s[0][0] + s[1][0] + s[2][0])


S = list(map(str, input().split()))
a = S[0][0].upper()
b = S[1][0].upper()
c = S[2][0].upper()
print(a + b + c)


print(*(s[0].upper() for s in input().split()), sep='')


(s1, s2, s3) = map(str, input().split())
ans = [s1[0].upper(), s2[0].upper(), s3[0].upper()]
print(''.join(ans))


s = [i[0] for i in input().split()]
print(str.upper(s[0] + s[1] + s[2]))


(a, b, c) = input().split()
A = list(a)
B = list(b)
C = list(c)
ans = A[0] + B[0] + C[0]
print(ans.upper())


(a, b, c) = input().split()
print(a.upper()[0], b.upper()[0], c.upper()[0], sep='')


S = input().split()
my_list = []
for i in range(len(S)):
	S[i] = S[i].title()
	my_list.append(S[i][0])
print(my_list[0] + my_list[1] + my_list[2])


(a, b, c) = input().split()
S = (a[0] + b[0] + c[0]).upper()
print(S)


(A, B, C) = list(map(str, input().split()))
print((A[0] + B[0] + C[0]).upper())


(A, B, C) = input().split()
D = A[0] + B[0] + C[0]
print(D.swapcase())


texts = list(map(str, input().split()))
result = ''
for text in texts:
	result = result + text[0].upper()
print(result)


print(''.join(map(lambda x: x[0].capitalize(), input().split())))


print(*[x[0].upper() for x in input().split()], sep='')


l = input().split()
r = ''
for i in l:
	r += i[0].upper()
print(r)


a = input().split()
res = ''
for i in range(len(a)):
	a[i] = a[i].upper()
	res += a[i][0]
print(res)


(a, *_) = zip(*input().upper().split())
print(*a, sep='')


(a, b, c) = input().split()
abc = a[0] + b[0] + c[0]
print(abc.upper())