#K42492. Garden Fence Perimeter

    ID: 27099 Type: Default 1000ms 256MiB

Garden Fence Perimeter

Garden Fence Perimeter

You are given the dimensions of a rectangular garden, namely its length and width. Your task is to compute the perimeter of the garden using the formula: \( P = 2 \times (\text{length} + \text{width}) \).

The answer must be computed using integer arithmetic. The input will be provided via standard input and the result should be printed to standard output.

inputFormat

The input consists of a single line with two non-negative integers separated by spaces: the first integer represents the length of the garden and the second represents the width.

outputFormat

Output the perimeter of the garden as an integer computed by the formula \(2 \times (\text{length} + \text{width})\).

## sample
8 5
26