Output 1:Thetailingspacesexample1 Output 2:Thetailingspacesexample2 Output 3:Thetailingspacesexample1Thetailingspacesexample2