#include <cstdio> // for printf.
void manko_fuck(int val1, int val2, int val3, int val4)
{
std::printf("%d %d %d %d\n", val1, val2, val3, val4);
}
////////////////////////
void manko_fuck2(int val1, int val4)
{
manko_fuck(val1, 2, 3, val4);
}
/////////////////////
#define manko_val2 2
#define manko_val3 3
#define manko_fuck3(val1, val4) manko_fuck(val1, manko_val2, manko_val3, val4)
////////////////////
#define manko_val23 2,3
void manko_fuck4(int val1, int val4)
{
auto f = [=](int val2, int val3) { manko_fuck(val1, val2, val3, val4); };
f(manko_val23);
}
////////////////////////
int main()
{
manko_fuck2(100, 400);
manko_fuck3(101, 401);
manko_fuck4(102, 402);
auto manko_fuck5 = [](int val1, int val4) { manko_fuck(val1, 2, 3, val4); };
manko_fuck5(103, 403);
}
I2luY2x1ZGUgPGNzdGRpbz4JLy8gZm9yIHByaW50Zi4KCnZvaWQgbWFua29fZnVjayhpbnQgdmFsMSwgaW50IHZhbDIsIGludCB2YWwzLCBpbnQgdmFsNCkKewoJc3RkOjpwcmludGYoIiVkICVkICVkICVkXG4iLCB2YWwxLCB2YWwyLCB2YWwzLCB2YWw0KTsKfQoKLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vCgp2b2lkIG1hbmtvX2Z1Y2syKGludCB2YWwxLCBpbnQgdmFsNCkKewoJbWFua29fZnVjayh2YWwxLCAyLCAzLCB2YWw0KTsKfQoKLy8vLy8vLy8vLy8vLy8vLy8vLy8vCgojZGVmaW5lIG1hbmtvX3ZhbDIgMgojZGVmaW5lIG1hbmtvX3ZhbDMgMwojZGVmaW5lIG1hbmtvX2Z1Y2szKHZhbDEsIHZhbDQpIG1hbmtvX2Z1Y2sodmFsMSwgbWFua29fdmFsMiwgbWFua29fdmFsMywgdmFsNCkKCi8vLy8vLy8vLy8vLy8vLy8vLy8vCgojZGVmaW5lIG1hbmtvX3ZhbDIzIDIsMwoKdm9pZCBtYW5rb19mdWNrNChpbnQgdmFsMSwgaW50IHZhbDQpCnsKCWF1dG8gZiA9IFs9XShp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