(while(let(`(#/(.*) (.*) (.*)\1|.* /(read-line)))(print(or`3"")(or`2"")`'after)))