CF-2095I•Codeforces

Mysterious Script

*specialexpression parsingnumber theory

An extraterrestrial species has visited the authors of April Fools Day Contest 2025 while they were preparing problems. They call themselves the "Balikons" and expressed interest in chatting with humans. Although they can make sounds that are similar to human speech, they seem to prefer communicating by writing using a variety of media.

illustration

Figure 1. A Balikon entity communicates with a human linguist (2025, colorized)

Fortunately, there is a linguistics expert in the author team. With some effort, they were eventually able to fully understand the Balikon language. The following is a table of some example phrases they translated.

Balikon scriptLatin scriptTranslation
balikonBalikon
balikong shasthree Balikons
fibucho shezali kin chakog leshasbuy shezali∗^{\text{∗}} for twelve chakos†^{\text{†}}
fibuchog zinfa bashin(I) bought the wrong pen
shons ze tes to les konbilo lonshonletashashaleteshatesfive plus seven minus one modulo 998244358

Table 1. A few pieces of text in the Balikon language

After some conversations, the Balikons learned about a popular human activity called competitive programming and were excited to try. In fact, they just created their first problem. Please check it out!

∗^{\text{∗}}a dish in traditional Balikon cuisine, similar to meatballs

†^{\text{†}}currency unit

Input

The input contains two integers aa and bb (1≤a,b≤1091 \le a, b \le 10^9).

Output

Print the sum a+ba + b.

Sample 1
Input
shons tes
Output
leshas
Sample 2
Input
leles lonshons
Output
shatas
Sample 3
Input
lonshonletashashaleteshalons shons
Output
lonshonletashashaleteshates

Discussions & Comments

Share your approach or ask questions about this problem (0)

You must be logged in to comment or start a discussion on this problem.

Log In

No comments yet. Be the first to comment!

Actions

Open on Codeforces

About Platform

CO
Codeforces
External Judge

Problem Discussions

0

Have questions or want to share your solution approach? Join the discussion.

View / write comments