Stone scissors and cloth

Time Limit: 1 Sec

Memory Limit: 128 MB

题目描述

dml和zy在玩一个传统的中国民间游戏,石头剪刀布,但数字1代表石头,数字2代表剪刀,数字3代表布。

输入

多实例测试(到文件尾结束),每组数据包括6个整数,前3个表示dm1前三回合出的手势,后三个表示zy前三个回合出的手势,数字都是1,2,3中的一个。

输出

判断三个回合dml和zy的胜负,赢的回合多的为胜利者。如果dml胜利,请输出“dml is the winner”,平局请输出“no winner”,如果dml失败,请输出“zy is the winner”。输出不带引号。

样例输入

1 1 1 2 2 2
2 2 2 1 1 1

样例输出

dml is the winner
zy is the winner