#K42492. Garden Fence Perimeter
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})\).
## sample8 5
26