#include <stdio.h> int main() { int a, b; scanf("%x %o", &a, &b);//%x为输入十六进制,%o为输入八进制 printf("%d\n", a + b); return 0; }