Official

A - ?UPC Editorial by en_translator


For beginners

Receive the string, and print its first character and UPC in this order.

Sample code

#include <bits/stdc++.h>
using namespace std;

int main() {
	string s;
	cin >> s;
	cout << s[0] << "UPC\n";
}

posted:
last update: