Pyth, 63 bytes
j.ejm+**3k;j;db)_CcR[1 3 6).e:*T]btMQ@m*T]*5d,d\_kc2"(.,.)( : )
A program that takes input of a list of integers and prints the result.
[Explanation coming later]
TheBikingViking
- 3.7k
- 12
- 22
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchangej.ejm+**3k;j;db)_CcR[1 3 6).e:*T]btMQ@m*T]*5d,d\_kc2"(.,.)( : )
A program that takes input of a list of integers and prints the result.
[Explanation coming later]