/**
* Author: Sergey Kopeliovich (Burunduk30@gmail.com)
*/
#include <cassert>
#include <cstdio>
/** Interface */
inline int readInt();
inline int readUInt();
inline void readWord( char *s );
inline int fast_readchar(); // you may use readchar() instead of it
inline void writeInt( int x );
inline void fast_writechar( int x ); // you may use putchar() instead of it
inline void writeWord( const char *s );
inline void fast_flush();
/** Read */
static const int buf_size = 4096;
inline int fast_readchar() {
static char buf[buf_size];
static int len = 0, pos = 0;
if (pos == len)
pos = 0, len = fread(buf, 1, buf_size, stdin);
if (pos == len)
return -1;
return buf[pos++];
}
inline int readUInt() {
int c = fast_readchar(), x = 0;
while (c <= 32)
c = fast_readchar();
while ('0' <= c && c <= '9')
x = x * 10 + c - '0', c = fast_readchar();
return x;
}
inline int readInt() {
int s = 1, c = fast_readchar();
int x = 0;
while (c <= 32)
c = fast_readchar();
if (c == '-')
s = -1, c = fast_readchar();
while ('0' <= c && c <= '9')
x = x * 10 + c - '0', c = fast_readchar();
return x * s;
}
inline void readWord( char *s ) {
int c = fast_readchar();
while (c <= 32)
c = fast_readchar();
while (c > 32)
*s++ = c, c = fast_readchar();
*s = 0;
}
/** Write */
static int write_pos = 0;
static char write_buf[buf_size];
inline void fast_writechar( int x ) {
if (write_pos == buf_size)
fwrite(write_buf, 1, buf_size, stdout), write_pos = 0;
write_buf[write_pos++] = x;
}
inline void fast_flush() {
if (write_pos)
fwrite(write_buf, 1, write_pos, stdout), write_pos = 0;
}
inline void writeInt( int x ) {
if (x < 0)
fast_writechar('-'), x = -x;
char s[24];
int n = 0;
while (x || !n)
s[n++] = '0' + x % 10, x /= 10;
while (n--)
fast_writechar(s[n]);
}
inline void writeWord( const char *s ) {
while (*s)
fast_writechar(*s++);
}
/** Example */
int main() {
/** If you need some files */
assert(freopen("input.txt", "r", stdin));
assert(freopen("output.txt", "w", stdout));
int a = readInt();
int b = readInt();
writeInt(a + b);
fast_writechar('\n');
fast_flush(); // Don't forget to flush!
}
/**
Common troubles:
1. Ничего не выводится. Все-таки забыли flush.
2. Вводите данные в среде, не вводится... Ввод буферизованный, он ждет конца ввода. Нажмите Ctrl+D или Ctrl+Z.
*/