Answer :
x+y=18897
x=y+673
2y+673 = 18897
2y = 18224
y= 9112
x = 9112+673 = 9785
9112 + 9785 = 18897
so one country is 9112 and the second country is 9785
x+y=18897
x=y+673
2y+673 = 18897
2y = 18224
y= 9112
x = 9112+673 = 9785
9112 + 9785 = 18897
so one country is 9112 and the second country is 9785