# DCP-467: Very Happy New Year++ Back to All Problems

![enter image description here][1] Today is the first day of new year **2018**. So, Problem-setter decided to wish "**Happy New Year-2018!!**" to all of his wellwishers. Then he writes down the names of all of his well-wishers in notepad++. Suddenly, he notices that most of his wellwishers are competitive programming contestants. So, he decided to create a very easy problem for them to wish "Happy New Year-2018" to all of them. So, here is a very easy problem for you from that problem-setter. Hope this makes you Happy **:)**.<br> You are given a string of the form "**HappyNewYearX**" always , where **X** means zero or more "**+**" signs. Your task is to increase the current year value depending upon numbers of "**+**" signs and print the answer in following format : `Happy New Year-Y` , Here Y means updated year value after adding numbers of "**+**" sign with current year 2018. Input: ------ Input starts with an integer **T (1<=T<=20)**, denoting the number of test cases. Each case contains input in the format "**HappyNewYearX**" , where **X** means zero or more "**+**" sign( at most **100**). Output: ------- For each case of input, output answer in format "**Happy New Year-Y**". Sample Input ------------ 2 HappyNewYear HappyNewYear++ Sample Output ------------- Happy New Year-2018 Happy New Year-2020 [1]: https://s3-ap-southeast-1.amazonaws.com/devskillimagestorage/questionimages/ddfa3576-3554-cb5d-d211-08d5512c4be1_63c5b69d99264e8483196e240fa24303_W426xH158.png

### Problem Limits

 Language Time Limit (seconds) C 1.00 C++ 1.00 C++14 1.00 C# 2.00 Go 2.00 Java 2.00 JavaScript 2.00 Objective-C 2.00 Perl 2.00 PHP 2.00 Python 2.00 Python3 2.00 Ruby 2.00 VB.Net 2.00

# 248/387

Solve/Submission

### Ranking

# User Language Timing
01 partha31 Cpp 0.00s
02 njrafi Cpp 0.00s
03 cse_nazmul Cpp 0.00s
04 demon Cpp 0.00s
05 voongvang C 0.00s
06 m_arif Cpp 0.00s
07 nafiz0080 Cpp 0.00s
08 inactivecoder Cpp 0.00s
09 duronto20 Cpp 0.00s
10 shawon100 Cpp 0.00s
11 Stormraider Cpp14 0.00s
12 Titanium_Owner Cpp 0.00s
13 wasif Cpp 0.00s
14 skmonir Cpp 0.00s
15 subhashis_cse Cpp 0.00s
16 sayedgkm Cpp14 0.00s
17 ssavi Cpp 0.00s
18 Durbin Cpp14 0.00s
19 mbstu_nitai Cpp 0.00s
20 Shourov Cpp 0.00s
21 mhiceiuk Cpp 0.00s
22 showmic Cpp 0.00s
23 emrul Cpp14 0.00s
24 Foysol_Ahmed Cpp 0.00s
25 pin2paul Cpp14 0.00s
26 sherina Cpp 0.00s
27 tariqiitju Cpp 0.00s
28 arabin C 0.00s
29 Nur_Alam39 Cpp 0.00s
30 orpib Cpp 0.00s
31 saiful130104 Cpp 0.00s
32 mhiceiu Cpp 0.00s
33 prodipdatta7 Cpp 0.00s
35 rayhan50001 Cpp 0.00s
36 Anikcsejnu Cpp 0.00s
37 Logic_Hunter Cpp14 0.00s
39 pulak_ict_mbstu Cpp 0.00s
40 Sagor Cpp 0.00s
41 afzalul C 0.00s
42 motaleb_ICT Cpp 0.00s
43 Reayz Cpp 0.00s
44 FariD Cpp14 0.00s
45 Indrjit_BU Cpp 0.00s
46 prottoy919 Cpp 0.00s
47 rafid211 Cpp 0.00s
48 _GhOstMan_ Cpp 0.00s
49 bu_hridoy Cpp 0.00s
50 Taran Cpp14 0.00s
Feedback