fn main() {
    let x: u8 = 10;
    let y: u16 = u16::from(x); // تبدیل u8 به u16
    println!("y = {}", y);
}