#46125: python 28604 u.32u03t;6


murphyhuang0322@gmail.com (黃墨淮)

學校 : 臺北市私立延平高級中學
編號 : 307375
來源 : [118.161.13.198]
最後登入時間 :
2025-08-24 12:32:14

a,b,c = list(map(int,input().split(" ")))
l=[a,b,c]
counta = l.count(a)
countb = l.count(b)
countc = l.count(c)
count = [counta,countb,countc]
nums = []
for i in range(3):
    if l[i] not in nums:
        nums.append(l[i])
s=""
for r in range(len(nums)):
    s += " "+str(max(nums))
    nums.remove(max(nums))
print(max(count),s,sep="")

#53841: Re: python 28604 u.32u03t;6


twytsam@gmail.com (柚ゲすめふ)

學校 : 不指定學校
編號 : 256792
來源 : [123.195.40.217]
最後登入時間 :
2025-09-27 17:13:38

#i399. 1. 數字遊戲
num = list(map(int,input().split()))
s = set(num)
t = []
for i in num:
  t.append(num.count(i))
s = list(s)
s.sort(reverse=True)
print(max(t),*s)