Rearranging data set in SAS
===

I am new to SAS and am trying to rearrange a dataset. I feel that it shouldn't be too hard but I've been struggling with it for quite some time now. Here is what my dataset looks like
    
    Factor Variable Value
    A      X        1
    A      Y        2
    B      X        3
    B      Y        4

and I want my resulting dataset to be

    Variable   A   B
    X          1   3
    Y          2   4

Is this possible? Thank you for your help.
