 atodyshevoxz3kh 
                                                14.01.2022 16:44
                                                
                                                atodyshevoxz3kh 
                                                14.01.2022 16:44
                                             vualada 
                                                14.01.2022 16:27
                                                
                                                vualada 
                                                14.01.2022 16:27
                                             FeagTV 
                                                08.12.2020 08:51
                                                
                                                FeagTV 
                                                08.12.2020 08:51
                                             ehadid 
                                                08.12.2020 08:51
                                                
                                                ehadid 
                                                08.12.2020 08:51
                                             countrestrikegl 
                                                08.12.2020 08:51
                                                
                                                countrestrikegl 
                                                08.12.2020 08:51
                                             русский265 
                                                23.06.2019 15:16
                                                
                                                русский265 
                                                23.06.2019 15:16
                                             Лераuse 
                                                23.06.2019 15:50
                                                
                                                Лераuse 
                                                23.06.2019 15:50
                                             курма4 
                                                23.06.2019 16:02
                                                
                                                курма4 
                                                23.06.2019 16:02
                                            
Python:
a=list(map(int,input().split()))
s=0
for i in a:
if i%3==0:
s+=1
print(s)