```
#include <stdio.h>

int main() {
  int A, C, D;
  char B;

  printf("Введите значения A, B и C через пробел: ");
  scanf("%d %c %d", &A, &B, &C);

  if (B == '+') {
    D = A + C;
  } else if (B == '-') {
    D = A / C;
  }

  printf("D = %d", D);

  return 0;
}
```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence