output_description: Print the area and perimeter of the rectangle in a line. The two integers
  should be separated by a single space.
input_description: The length a and breadth b of the rectangle are given in a line separated by a
  single space.
attempt: line = list(map(int, input().split()))
  a = line[0]
  b = line[1]
  result1 = str(a * b)
  result2 = str((a + b) * 2)
  print(result1 + " " + result2)
  
problem_description: Rectangle
  
  Write a program which calculates the area and perimeter of a given rectangle.
samples: [{"input": "3 5", "output": "15 16"}]