summaryrefslogtreecommitdiffstats
path: root/RNA.rs
blob: 30091fea6e45a1a9454922db853eb32d71efbbef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
use io::{stdin,stdout,ReaderUtil,WriterUtil};

fn main() {
    let stdout = stdout();
    for stdin().each_char() |ch| {
        match ch {
            'T' =>  { stdout.write_char('U')        }
            '\n' => { stdout.write_char(ch); return }
            _   =>  { stdout.write_char(ch)         }
        }
    }
}