#include <iostream>
using namespace std;
int main()
{
int i = 3;
int u = 0;
int r = 60;
auto t = [&]/*()*/{return r - (i * u);};
while (t() >= 0)
{
cout << t() << endl << u++ << endl;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogICAgaW50IGkgPSAzOwogICAgaW50IHUgPSAwOwogICAgaW50IHIgPSA2MDsKICAgIAogICAgYXV0byB0ID0gWyZdLyooKSove3JldHVybiByIC0gKGkgKiB1KTt9OwogICAgCiAgICB3aGlsZSAodCgpID49IDApCiAgICB7CiAgICAgICAgY291dCA8PCB0KCkgPDwgZW5kbCA8PCB1KysgPDwgZW5kbDsKICAgIH0KfQ==