Problems
10157 - EID Shopping
SUBMIT PROBLEM

EID Shopping

Time Limit: 1 sec

 

The Problem

Eid al-Fitr also called the "Festival of Breaking the Fast", is an important religious holiday celebrated by Muslims worldwide that marks the end of Ramadan, the Islamic holy month of fasting (?awm).

 

My little brother SHAWON go to Eid shopping to buy a pant, shirt, pair of shoes, and Panjabi. If the pant price T1 taka, shirt price T2 taka, pair of shoes price T3 taka, and panjabi price T4 taka. Can you please write a computer program to calculate the total Eid shopping cost.

 

Example:

If T1 = 1700, T2 = 1200, T3 = 1800, and T4 = 1300 Then

Total Eid shopping cost = 6000

 

The Input

The input file contains only 4 integer numbers T1, T2, T3, and T4 (0<T1, T2, T3, T4<5000).

 

The Output

Output will show only one integer number which is the total Eid shopping cost in a separate line.

 

Sample Input

1700 1200 1800 1300

 

Sample Output

6000

 

 

 

Inter University Programming Contest - Summer 2019 [BGC Trust University Bangladesh]

Problem Setter: Shahin ShamS