import sys
s = sys.stdin.readline()
while s != "":
組數=int(s)
餘數=0
商=0
for i in range(組數):
數字 = int(sys.stdin.readline())
積=1
積=積*(數字%10)
數字=數字//10 (這裡要去除餘數為零)
~~~~~~
import sys
s = sys.stdin.readline()
while s != "":
組數=int(s)
餘數=0
商=0
for i in range(組數):
數字 = int(sys.stdin.readline())
積=1
積=積*(數字%10)
數字=數字//10 (這裡要去除數字為零)
~~~~~~
import sys
s = sys.stdin.readline()
while s != "":
組數=int(s)
餘數=0
商=0
for i in range(組數):
數字 = int(sys.stdin.readline())
積=1
積=積*(數字%10)
數字=數字//10 (這裡要去除數字為零)
~~~~~~