#!/usr/bin/env python3 s, k = map(int,input().split()) if k < s: assert False else: assert s == 10**9 print(s)