finish lottery ticket solution