#47530: This is the answer specifically for Yanping students


ianliu9487168 (710-38 劉晏暢)

學校 : 臺北市私立延平高級中學
編號 : 312744
來源 : [203.72.178.2]
最後登入時間 :
2025-10-09 17:12:25

//a861
#include <iostream>

using namespace std;

 

int main(){

  int h, w;

  while (cin >> h >> w){

    cout << (h+w)*2 <<endl;

  }

}