#include<bits/stdc++.h>
using namespace std;
int main()
{
priority_queue<int , vector<int> , greater<int> > pmin;
priority_queue<int , vector<int> >pmax;
pmin.push(5);
pmin.push(9);
pmin.push(10);
pmax.push(1);
cout << (long long)(pmax.size() - pmin.size()) << endl;
long long diff = pmax.size() - pmin.size();
cout << diff <<endl;
return 0 ;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKaW50IG1haW4oKQp7CiAgICBwcmlvcml0eV9xdWV1ZTxpbnQgLCB2ZWN0b3I8aW50PiAsIGdyZWF0ZXI8aW50PiA+IHBtaW47CiAgICBwcmlvcml0eV9xdWV1ZTxpbnQgLCB2ZWN0b3I8aW50PiA+cG1heDsKICAgIHBtaW4ucHVzaCg1KTsKICAgIHBtaW4ucHVzaCg5KTsKICAgIHBtaW4ucHVzaCgxMCk7CiAgICBwbWF4LnB1c2goMSk7CiAgICBjb3V0IDw8IChsb25nIGxvbmcpKHBtYXguc2l6ZSgpIC0gcG1pbi5zaXplKCkpIDw8IGVuZGw7CiAgICBsb25nIGxvbmcgZGlmZiA9IHBtYXguc2l6ZSgpIC0gcG1pbi5zaXplKCk7CiAgICBjb3V0IDw8IGRpZmYgPDxlbmRsOwogICAgcmV0dXJuIDAgOwp9