A java multithread program that imitates checkout systems of supermarkets, aims to provide solutions to maximize efficiency of checkout systems. Both safety and liveness of the threads are considered.