?UPC

ABC 388

Problem 28 of 50

Easy

What to do

You need to take a word that starts with a capital letter and ends with lowercase letters. Then, combine the first letter of that word with the letters 'UPC' and print the result.

Key Concepts

string manipulation concatenation input/output

Examples

Input: 'Kyoto'

Output: KUPC

Input: 'Tohoku'

Output: TUPC

Tips for Beginners

  • Focus on understanding the logic, not memorizing syntax
  • Use print statements to debug your code
  • Don't worry about input parsing - the function handles that for you
  • If stuck, try writing out your solution on paper first

Python Editor

Loading Python...