  We propose a method to solve the initial value problem for the ultradiscrete
Somos-4 and Somos-5 equations by expressing terms in the equations as convex
polygons and regarding max-plus algebras as those on polygons.
