Variables ========= $type $color $amount -> for 1st line $type $color1 $amount1 -> for 2nd line if $type matches the 1st line $type $type $color2 $amount2 - for 3rd line if $type matches the 2nd $type