# coding: utf-8 # Your code here! A=int(input()) B=int(input()) low=A/5000*200000 high=(A+1)/5000*200000 if B