s = input()print(s.replace('b','v'))print(s.count('v'))
1
1 0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!