Inicials


Submit solution

Points: 10
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type
Allowed languages
C#, Go, Java, Python

Volem fer un programa que, llegit el nom \(N\) i el primer cognom \(C\) d'una persona, mostri per pantalla les seves inicials en majúsules i sense espais.

Input Format

Dues paraules separades per un espai: el nom \(N\) i el cognom \(C\).

Constraints

  • \(N\) i \(C\) no contindran espais.

Output Format

Una única paraula formada per dues lletres en majúscules.

Test Case 1

Input
Peter Parker
Output
PP

Test Case 2

Input
Felicia hardy
Output
FH

Test Case 3

Input
clark Kent
Output
CK

Test Case 4

Input
harley queen
Output
HQ

Test Case 5

Hidden: this is a private test case!


Authorship: Fernando Porrino Serrano

CC BY-NC-SA 4.0