Addition and Subtraction Easy

AtCoder
IDabc050_a
Time2000ms
Memory256MB
Difficulty
Joisino wants to evaluate the formula "$A$ $op$ $B$". Here, $A$ and $B$ are integers, and the binary operator $op$ is either `+` or `-`. Your task is to evaluate the formula instead of her. ## Constraints * $1≦A,B≦10^9$ * $op$ is either `+` or `-`. ## Input The input is given from Standard Input in the following format: $A$ $op$ $B$ [samples]
Samples
Input #1
1 + 2
Output #1
3

Since $1 + 2 = 3$, the output should be $3$.
Input #2
5 - 7
Output #2
\-2
API Response (JSON)
{
  "problem": {
    "name": "Addition and Subtraction Easy",
    "description": {
      "content": "Joisino wants to evaluate the formula \"$A$ $op$ $B$\". Here, $A$ and $B$ are integers, and the binary operator $op$ is either `+` or `-`. Your task is to evaluate the formula instead of her.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc050_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Joisino wants to evaluate the formula \"$A$ $op$ $B$\". Here, $A$ and $B$ are integers, and the binary operator $op$ is either `+` or `-`. Your task is to evaluate the formula instead of her.\n\n## Constr...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments