This page is still under construction.

Parts of this page are still being built. What you see may change.

Card Game

Time limit1sMemory limit256 MB

Summary
Read five round scores and print their sum.
Level

Easy1 of 10

Topics
Array, Implementation
Solved
No attempts yet

Problem

JOI is playing a card game. The game is played over 5 rounds, and the winner is decided by the sum of the scores earned across those 5 rounds.

Given the score JOI earned in each round, write a program that computes JOI's total score.

Input

The following data is given from standard input.

  • Line ii (1≤i≤5)(1 \le i \le 5) contains an integer AiA_i, which is the score JOI earned in the ii-th round.

Output

Print JOI's total score on a single line.

Constraints

  • 0≤Ai≤1000 \le A_i \le 100.

Examples2

  1. Example 1

    Input
    1
    2
    3
    4
    5
    
    Expected output
    15
    
  2. Example 2

    Input
    0
    100
    0
    10
    100
    
    Expected output
    210