print([int(s) for s in raw_input().split(":")])
12:34:56
[12, 34, 56]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!