#include <stdio.h>
#include <stdint.h>
int16_t signed_unsigned_sum(int8_t a, uint8_t b) {
// Your logic here
//Return the result as a signed 16-bit integer (int16_t) so the overflow can be observed
return (int16_t)a + (int16_t)b;
}
int main() {
int8_t a;
uint8_t b;
scanf("%hhd %hhu", &a, &b);
printf("%d", signed_unsigned_sum(a, b));
return 0;
}