#!/usr/bin/env python #coding:UTF-8 a,b = map(int,raw_input().split()) c = b * -1 answer = a - c print answer