var s: string; i: integer; begin readln(s); for i := 1 to length(s) do begin if(s = 'а') then s := 'о' else if(s = 'о') then s := 'а'; end; writeln(s); end.