> For the complete documentation index, see [llms.txt](https://rayyanwong.gitbook.io/rayyan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rayyanwong.gitbook.io/rayyan/programming/ccc-2022-junior/cupcake-party.md).

# Cupcake party

```cpp
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<int,int>
#define vi vector<int>
#define vl vector<ll>
#define vpii vector<pii>
#define pb push_back
#define se second
#define pb push_back
#define endl "\n"

int main(){
    int n,m; 
    cin >> n >> m ;
    int numcup;
    numcup = (n*8)+(m*3);
    cout << numcup - 28;
}
```
