Advertisement
Josif_tepe

Untitled

Jan 28th, 2024
558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int x, y;
  7.     cin >> x;
  8.     cin >> y;
  9.    
  10.     int paket = (x + y) / 2;
  11.     cout << paket * 7 << endl;
  12.     return 0;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement