#include <stdio.h>
#include <stdlib.h>
int main(void) {
int x;
int y;
if(x%2==0 && y%2==1)
{
y = y -1;
int fake = 0;
for(int temp = 0;temp<=y; temp= temp+2)
{
x = x+temp;
fake = fake + x;
}
}
if(x%2==1 && y%2==0)
{
x = x +1;
int fake = 0;
for(int temp = 0;temp<=y; temp= temp+2)
{
x = x+temp;
fake = fake + x;
}
}
if(x%2==0 && y%2==0)
{
int fake = 0;
for(int temp = 0;temp<=y; temp= temp+2)
{
x = x+temp;
fake = fake + x;
}
}
if(x%2==1 && y%2==1)
{
x = x +1;
y = y -1;
int fake = 0;
for(int temp = 0;temp<=y; temp= temp+2)
{
x = x+temp;
fake = fake + x;
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgojaW5jbHVkZSA8c3RkbGliLmg+CgoKaW50IG1haW4odm9pZCkgewoJaW50IHg7CglpbnQgeTsKCXByaW50ZigiZW50ZXIgdmFsdWUgeCIpOwoJc2NhbmYoIiVkIiwgJngpOwoJcHJpbnRmKCJlbnRlciB2YWx1ZSB5Iik7CnNjYW5mKCIlZCIsICZ5KTsKCmlmKHglMj09MCAmJiB5JTI9PTEpCnsKCQl5ID0geSAtMTsKCQlpbnQgZmFrZSA9IDA7CgkJZm9yKGludCB0ZW1wID0gMDt0ZW1wPD15OyB0ZW1wPSB0ZW1wKzIpCgkJewoJCgkJCgkJeCA9IHgrdGVtcDsKCQlmYWtlID0gZmFrZSArIHg7CgkJfQoJCQp9CmlmKHglMj09MSAmJiB5JTI9PTApCnsKCXggPSB4ICsxOwoJCWludCBmYWtlID0gMDsKCQlmb3IoaW50IHRlbXAgPSAwO3RlbXA8PXk7IHRlbXA9IHRlbXArMikKCQl7CgkKCQkKCQl4ID0geCt0ZW1wOwoJCWZha2UgPSBmYWtlICsgeDsKCQl9Cn0KCmlmKHglMj09MCAmJiB5JTI9PTApCnsKCWludCBmYWtlID0gMDsKCQlmb3IoaW50IHRlbXAgPSAwO3RlbXA8PXk7IHRlbXA9IHR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